diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 3973df4..1e50760 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -14,7 +14,7 @@ jobs: steps: # Please look up the latest version from # https://github.com/amannn/action-semantic-pull-request/releases - - uses: amannn/action-semantic-pull-request@v5.4.0 + - uses: amannn/action-semantic-pull-request@v5.5.3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index c2632d1..a19ff83 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -7,8 +7,8 @@ on: - master env: - TERRAFORM_DOCS_VERSION: v0.16.0 - TFLINT_VERSION: v0.50.3 + TERRAFORM_DOCS_VERSION: v0.19.0 + TFLINT_VERSION: v0.53.0 jobs: collectInputs: @@ -45,14 +45,14 @@ jobs: - name: Terraform min/max versions id: minMax - uses: clowdhaus/terraform-min-max@v1.3.0 + uses: clowdhaus/terraform-min-max@v1.3.1 with: directory: ${{ matrix.directory }} - name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }} # Run only validate pre-commit check on min version supported if: ${{ matrix.directory != '.' }} - uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0 + uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 with: terraform-version: ${{ steps.minMax.outputs.minVersion }} tflint-version: ${{ env.TFLINT_VERSION }} @@ -61,7 +61,7 @@ jobs: - name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }} # Run only validate pre-commit check on min version supported if: ${{ matrix.directory == '.' }} - uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0 + uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 with: terraform-version: ${{ steps.minMax.outputs.minVersion }} tflint-version: ${{ env.TFLINT_VERSION }} @@ -88,10 +88,10 @@ jobs: - name: Terraform min/max versions id: minMax - uses: clowdhaus/terraform-min-max@v1.3.0 + uses: clowdhaus/terraform-min-max@v1.3.1 - name: Pre-commit Terraform ${{ steps.minMax.outputs.maxVersion }} - uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0 + uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 with: terraform-version: ${{ steps.minMax.outputs.maxVersion }} tflint-version: ${{ env.TFLINT_VERSION }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7c0a310..7e4e7da 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.88.0 + rev: v1.96.1 hooks: - id: terraform_fmt - id: terraform_wrapper_module_for_each @@ -22,10 +22,9 @@ repos: - '--args=--only=terraform_required_providers' - '--args=--only=terraform_standard_module_structure' - '--args=--only=terraform_workspace_remote' - - '--args=--only=terraform_unused_required_providers' - id: terraform_validate - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-merge-conflict - id: end-of-file-fixer diff --git a/examples/cis-alarms/README.md b/examples/cis-alarms/README.md index f403065..ae18de8 100644 --- a/examples/cis-alarms/README.md +++ b/examples/cis-alarms/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -52,4 +52,4 @@ No inputs. |------|-------------| | [cloudwatch\_metric\_alarm\_arns](#output\_cloudwatch\_metric\_alarm\_arns) | List of ARNs of the Cloudwatch metric alarm | | [cloudwatch\_metric\_alarm\_ids](#output\_cloudwatch\_metric\_alarm\_ids) | List of IDs of the Cloudwatch metric alarm | - + diff --git a/examples/complete-log-metric-filter-and-alarm/README.md b/examples/complete-log-metric-filter-and-alarm/README.md index 49e71de..ea455d0 100644 --- a/examples/complete-log-metric-filter-and-alarm/README.md +++ b/examples/complete-log-metric-filter-and-alarm/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -52,4 +52,4 @@ No inputs. | [cloudwatch\_log\_metric\_filter\_id](#output\_cloudwatch\_log\_metric\_filter\_id) | The name of the metric filter | | [cloudwatch\_metric\_alarm\_arn](#output\_cloudwatch\_metric\_alarm\_arn) | The ARN of the Cloudwatch metric alarm | | [cloudwatch\_metric\_alarm\_id](#output\_cloudwatch\_metric\_alarm\_id) | The ID of the Cloudwatch metric alarm | - + diff --git a/examples/composite-alarm/README.md b/examples/composite-alarm/README.md index b56ade2..68d0d54 100644 --- a/examples/composite-alarm/README.md +++ b/examples/composite-alarm/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -54,4 +54,4 @@ No inputs. | [cloudwatch\_composite\_alarm\_id](#output\_cloudwatch\_composite\_alarm\_id) | The ID of the Cloudwatch composite alarm | | [lambda\_function1\_arn](#output\_lambda\_function1\_arn) | Lambda function ARN | | [lambda\_function1\_name](#output\_lambda\_function1\_name) | Lambda function name | -__ + diff --git a/examples/lambda-metric-alarm/README.md b/examples/lambda-metric-alarm/README.md index bfa2913..b946752 100644 --- a/examples/lambda-metric-alarm/README.md +++ b/examples/lambda-metric-alarm/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -54,4 +54,4 @@ No inputs. | [cloudwatch\_metric\_alarm\_id](#output\_cloudwatch\_metric\_alarm\_id) | The ID of the Cloudwatch metric alarm | | [lambda\_function1\_arn](#output\_lambda\_function1\_arn) | Lambda function ARN | | [lambda\_function1\_name](#output\_lambda\_function1\_name) | Lambda function name | - + diff --git a/examples/log-account-policy/README.md b/examples/log-account-policy/README.md index 0ec8a43..7fba1f8 100644 --- a/examples/log-account-policy/README.md +++ b/examples/log-account-policy/README.md @@ -1,6 +1,6 @@ # Complete Cloudwatch log account policy - + ## Requirements | Name | Version | @@ -53,4 +53,4 @@ No inputs. |------|-------------| | [log\_account\_data\_retention\_policy\_name](#output\_log\_account\_data\_retention\_policy\_name) | Name of Cloudwatch log account policy | | [log\_account\_subscription\_filter\_retention\_policy\_name](#output\_log\_account\_subscription\_filter\_retention\_policy\_name) | Name of Cloudwatch log account policy | - + diff --git a/examples/log-group-with-data-protection-policy/README.md b/examples/log-group-with-data-protection-policy/README.md index 6417fbe..d364b96 100644 --- a/examples/log-group-with-data-protection-policy/README.md +++ b/examples/log-group-with-data-protection-policy/README.md @@ -1,6 +1,6 @@ # Complete Cloudwatch log group and data protection policy - + ## Requirements | Name | Version | @@ -36,4 +36,4 @@ No inputs. |------|-------------| | [cloudwatch\_log\_group\_arn](#output\_cloudwatch\_log\_group\_arn) | ARN of Cloudwatch log group | | [cloudwatch\_log\_group\_name](#output\_cloudwatch\_log\_group\_name) | Name of Cloudwatch log group | - + diff --git a/examples/log-group-with-log-stream/README.md b/examples/log-group-with-log-stream/README.md index 009173f..38c6820 100644 --- a/examples/log-group-with-log-stream/README.md +++ b/examples/log-group-with-log-stream/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -51,4 +51,4 @@ No inputs. | [cloudwatch\_log\_group\_name](#output\_cloudwatch\_log\_group\_name) | Name of Cloudwatch log group | | [cloudwatch\_log\_stream\_arn](#output\_cloudwatch\_log\_stream\_arn) | ARN of Cloudwatch log stream | | [cloudwatch\_log\_stream\_name](#output\_cloudwatch\_log\_stream\_name) | Name of Cloudwatch log stream | - + diff --git a/examples/metric-stream/README.md b/examples/metric-stream/README.md index 2878a7d..7185ac0 100644 --- a/examples/metric-stream/README.md +++ b/examples/metric-stream/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -75,4 +75,4 @@ No inputs. | [include\_example\_metric\_stream\_creation\_date](#output\_include\_example\_metric\_stream\_creation\_date) | Date and time in RFC3339 format that the metric stream was created. | | [include\_example\_metric\_stream\_last\_update\_date](#output\_include\_example\_metric\_stream\_last\_update\_date) | Date and time in RFC3339 format that the metric stream was last updated. | | [include\_example\_metric\_stream\_state](#output\_include\_example\_metric\_stream\_state) | State of the metric stream. Possible values are running and stopped. | - + diff --git a/examples/multiple-lambda-metric-alarm/README.md b/examples/multiple-lambda-metric-alarm/README.md index e07ab54..e273cea 100644 --- a/examples/multiple-lambda-metric-alarm/README.md +++ b/examples/multiple-lambda-metric-alarm/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -51,4 +51,4 @@ No inputs. | [cloudwatch\_metric\_alarm\_ids](#output\_cloudwatch\_metric\_alarm\_ids) | List of ID of the Cloudwatch metric alarms | | [lambda\_function1\_arn](#output\_lambda\_function1\_arn) | Lambda function ARN | | [lambda\_function1\_name](#output\_lambda\_function1\_name) | Lambda function name | - + diff --git a/examples/query-definition/README.md b/examples/query-definition/README.md index 5ca20e6..0a555c5 100644 --- a/examples/query-definition/README.md +++ b/examples/query-definition/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -48,4 +48,4 @@ No inputs. | [cloudwatch\_log\_group\_arn](#output\_cloudwatch\_log\_group\_arn) | ARN of Cloudwatch log group | | [cloudwatch\_log\_group\_name](#output\_cloudwatch\_log\_group\_name) | Name of Cloudwatch log group | | [cloudwatch\_query\_definition\_id](#output\_cloudwatch\_query\_definition\_id) | The query definition id | - + diff --git a/modules/cis-alarms/README.md b/modules/cis-alarms/README.md index a70f27a..86832fa 100644 --- a/modules/cis-alarms/README.md +++ b/modules/cis-alarms/README.md @@ -2,7 +2,7 @@ Read more about [CIS AWS Foundations Controls](https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-cis-controls.html) and stay secure. - + ## Requirements | Name | Version | @@ -53,4 +53,4 @@ No modules. |------|-------------| | [cloudwatch\_metric\_alarm\_arns](#output\_cloudwatch\_metric\_alarm\_arns) | List of ARNs of the Cloudwatch metric alarm | | [cloudwatch\_metric\_alarm\_ids](#output\_cloudwatch\_metric\_alarm\_ids) | List of IDs of the Cloudwatch metric alarm | - + diff --git a/modules/composite-alarm/README.md b/modules/composite-alarm/README.md index 53b9050..62a9610 100644 --- a/modules/composite-alarm/README.md +++ b/modules/composite-alarm/README.md @@ -1,6 +1,6 @@ # composite-alarm - + ## Requirements | Name | Version | @@ -45,4 +45,4 @@ No modules. |------|-------------| | [cloudwatch\_composite\_alarm\_arn](#output\_cloudwatch\_composite\_alarm\_arn) | The ARN of the Cloudwatch composite alarm. | | [cloudwatch\_composite\_alarm\_id](#output\_cloudwatch\_composite\_alarm\_id) | The ID of the Cloudwatch composite alarm. | - + diff --git a/modules/log-account-policy/README.md b/modules/log-account-policy/README.md index cc65d69..1a8247b 100644 --- a/modules/log-account-policy/README.md +++ b/modules/log-account-policy/README.md @@ -1,6 +1,6 @@ # log-data-protection-policy - + ## Requirements | Name | Version | @@ -50,4 +50,4 @@ No modules. | Name | Description | |------|-------------| | [log\_account\_policy\_name](#output\_log\_account\_policy\_name) | Name of Cloudwatch log account policy | - + diff --git a/modules/log-data-protection-policy/README.md b/modules/log-data-protection-policy/README.md index 65d8994..885d47a 100644 --- a/modules/log-data-protection-policy/README.md +++ b/modules/log-data-protection-policy/README.md @@ -1,6 +1,6 @@ # log-data-protection-policy - + ## Requirements | Name | Version | @@ -47,4 +47,4 @@ No modules. | Name | Description | |------|-------------| | [log\_group\_name](#output\_log\_group\_name) | Name of Cloudwatch log group | - + diff --git a/modules/log-group/README.md b/modules/log-group/README.md index e7ee000..1e7ee37 100644 --- a/modules/log-group/README.md +++ b/modules/log-group/README.md @@ -1,6 +1,6 @@ # log-group - + ## Requirements | Name | Version | @@ -43,4 +43,4 @@ No modules. |------|-------------| | [cloudwatch\_log\_group\_arn](#output\_cloudwatch\_log\_group\_arn) | ARN of Cloudwatch log group | | [cloudwatch\_log\_group\_name](#output\_cloudwatch\_log\_group\_name) | Name of Cloudwatch log group | - + diff --git a/modules/log-metric-filter/README.md b/modules/log-metric-filter/README.md index a0edea4..6f3207f 100644 --- a/modules/log-metric-filter/README.md +++ b/modules/log-metric-filter/README.md @@ -1,6 +1,6 @@ # log-metric-filter - + ## Requirements | Name | Version | @@ -44,4 +44,4 @@ No modules. | Name | Description | |------|-------------| | [cloudwatch\_log\_metric\_filter\_id](#output\_cloudwatch\_log\_metric\_filter\_id) | The name of the metric filter | - + diff --git a/modules/log-stream/README.md b/modules/log-stream/README.md index f5eed1f..6287887 100644 --- a/modules/log-stream/README.md +++ b/modules/log-stream/README.md @@ -1,6 +1,6 @@ # log-stream - + ## Requirements | Name | Version | @@ -38,4 +38,4 @@ No modules. |------|-------------| | [cloudwatch\_log\_stream\_arn](#output\_cloudwatch\_log\_stream\_arn) | ARN of Cloudwatch log stream | | [cloudwatch\_log\_stream\_name](#output\_cloudwatch\_log\_stream\_name) | Name of Cloudwatch log stream | - + diff --git a/modules/log-subscription-filter/README.md b/modules/log-subscription-filter/README.md index 493456e..cb155e7 100644 --- a/modules/log-subscription-filter/README.md +++ b/modules/log-subscription-filter/README.md @@ -1,6 +1,6 @@ # log-stream - + ## Requirements | Name | Version | @@ -41,4 +41,4 @@ No modules. | Name | Description | |------|-------------| | [cloudwatch\_log\_subscription\_filter\_name](#output\_cloudwatch\_log\_subscription\_filter\_name) | Log subscription filter name | - + diff --git a/modules/metric-alarm/README.md b/modules/metric-alarm/README.md index 3672bfa..e78a041 100644 --- a/modules/metric-alarm/README.md +++ b/modules/metric-alarm/README.md @@ -1,6 +1,6 @@ # metric-alarm - + ## Requirements | Name | Version | @@ -58,4 +58,4 @@ No modules. |------|-------------| | [cloudwatch\_metric\_alarm\_arn](#output\_cloudwatch\_metric\_alarm\_arn) | The ARN of the Cloudwatch metric alarm. | | [cloudwatch\_metric\_alarm\_id](#output\_cloudwatch\_metric\_alarm\_id) | The ID of the Cloudwatch metric alarm. | - + diff --git a/modules/metric-alarms-by-multiple-dimensions/README.md b/modules/metric-alarms-by-multiple-dimensions/README.md index 795790f..1c2424a 100644 --- a/modules/metric-alarms-by-multiple-dimensions/README.md +++ b/modules/metric-alarms-by-multiple-dimensions/README.md @@ -1,6 +1,6 @@ # metric-alarms-by-multiple-dimensions - + ## Requirements | Name | Version | @@ -58,4 +58,4 @@ No modules. |------|-------------| | [cloudwatch\_metric\_alarm\_arns](#output\_cloudwatch\_metric\_alarm\_arns) | List of ARNs of the Cloudwatch metric alarm | | [cloudwatch\_metric\_alarm\_ids](#output\_cloudwatch\_metric\_alarm\_ids) | List of IDs of the Cloudwatch metric alarm | - + diff --git a/modules/metric-stream/README.md b/modules/metric-stream/README.md index 20793b7..84e3fa6 100644 --- a/modules/metric-stream/README.md +++ b/modules/metric-stream/README.md @@ -1,6 +1,6 @@ # metric-stream - + ## Requirements | Name | Version | @@ -47,4 +47,4 @@ No modules. | [cloudwatch\_metric\_stream\_creation\_date](#output\_cloudwatch\_metric\_stream\_creation\_date) | Date and time in RFC3339 format that the metric stream was created. | | [cloudwatch\_metric\_stream\_last\_update\_date](#output\_cloudwatch\_metric\_stream\_last\_update\_date) | Date and time in RFC3339 format that the metric stream was last updated. | | [cloudwatch\_metric\_stream\_state](#output\_cloudwatch\_metric\_stream\_state) | State of the metric stream. Possible values are running and stopped. | - + diff --git a/modules/query-definition/README.md b/modules/query-definition/README.md index 95af48f..b0d2fa6 100644 --- a/modules/query-definition/README.md +++ b/modules/query-definition/README.md @@ -1,6 +1,6 @@ # query-definition - + ## Requirements | Name | Version | @@ -38,4 +38,4 @@ No modules. | Name | Description | |------|-------------| | [cloudwatch\_query\_definition\_id](#output\_cloudwatch\_query\_definition\_id) | The query definition id. | - + diff --git a/wrappers/cis-alarms/versions.tf b/wrappers/cis-alarms/versions.tf index 51cad10..f469629 100644 --- a/wrappers/cis-alarms/versions.tf +++ b/wrappers/cis-alarms/versions.tf @@ -1,3 +1,15 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.58" + } + + random = { + source = "hashicorp/random" + version = ">= 2.0" + } + } } diff --git a/wrappers/composite-alarm/versions.tf b/wrappers/composite-alarm/versions.tf index 51cad10..2c346da 100644 --- a/wrappers/composite-alarm/versions.tf +++ b/wrappers/composite-alarm/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.58" + } + } } diff --git a/wrappers/log-account-policy/versions.tf b/wrappers/log-account-policy/versions.tf index 51cad10..2c346da 100644 --- a/wrappers/log-account-policy/versions.tf +++ b/wrappers/log-account-policy/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.58" + } + } } diff --git a/wrappers/log-data-protection-policy/versions.tf b/wrappers/log-data-protection-policy/versions.tf index 51cad10..ddfcb0e 100644 --- a/wrappers/log-data-protection-policy/versions.tf +++ b/wrappers/log-data-protection-policy/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.0" + } + } } diff --git a/wrappers/log-group/versions.tf b/wrappers/log-group/versions.tf index 51cad10..2c346da 100644 --- a/wrappers/log-group/versions.tf +++ b/wrappers/log-group/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.58" + } + } } diff --git a/wrappers/log-metric-filter/versions.tf b/wrappers/log-metric-filter/versions.tf index 51cad10..2c346da 100644 --- a/wrappers/log-metric-filter/versions.tf +++ b/wrappers/log-metric-filter/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.58" + } + } } diff --git a/wrappers/log-stream/versions.tf b/wrappers/log-stream/versions.tf index 51cad10..2c346da 100644 --- a/wrappers/log-stream/versions.tf +++ b/wrappers/log-stream/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.58" + } + } } diff --git a/wrappers/log-subscription-filter/versions.tf b/wrappers/log-subscription-filter/versions.tf index 51cad10..2c346da 100644 --- a/wrappers/log-subscription-filter/versions.tf +++ b/wrappers/log-subscription-filter/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.58" + } + } } diff --git a/wrappers/metric-alarm/versions.tf b/wrappers/metric-alarm/versions.tf index 51cad10..2c346da 100644 --- a/wrappers/metric-alarm/versions.tf +++ b/wrappers/metric-alarm/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.58" + } + } } diff --git a/wrappers/metric-alarms-by-multiple-dimensions/versions.tf b/wrappers/metric-alarms-by-multiple-dimensions/versions.tf index 51cad10..2c346da 100644 --- a/wrappers/metric-alarms-by-multiple-dimensions/versions.tf +++ b/wrappers/metric-alarms-by-multiple-dimensions/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.58" + } + } } diff --git a/wrappers/metric-stream/versions.tf b/wrappers/metric-stream/versions.tf index 51cad10..2c346da 100644 --- a/wrappers/metric-stream/versions.tf +++ b/wrappers/metric-stream/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.58" + } + } } diff --git a/wrappers/query-definition/versions.tf b/wrappers/query-definition/versions.tf index 51cad10..2c346da 100644 --- a/wrappers/query-definition/versions.tf +++ b/wrappers/query-definition/versions.tf @@ -1,3 +1,10 @@ terraform { - required_version = ">= 0.13.1" + required_version = ">= 1.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 5.58" + } + } }