diff --git a/.terraform.lock.hcl b/.terraform.lock.hcl new file mode 100644 index 0000000..e19016d --- /dev/null +++ b/.terraform.lock.hcl @@ -0,0 +1,40 @@ +# This file is maintained automatically by "terraform init". +# Manual edits may be lost in future updates. + +provider "registry.terraform.io/hashicorp/aws" { + version = "4.0.0" + constraints = ">= 3.74.0" + hashes = [ + "h1:StwpoFw0rXHgAVGV1M/QZaN9OfGx/3+mo1EjjFpbu9w=", + "zh:02937cb37860b022e7d996726e7584ca23904baf7852d266f2dd7891ee088ae4", + "zh:259dd5790ec5f4e6814c9584c79834dce3d719e932ce662b21f13434e9441194", + "zh:2d230c8c92c3cb2c07471a4324d802c44365dcf99fe0d562cc737d1f964e9c1d", + "zh:380b04e78934519469e699c537516ae1674d15f77c6778c2738cd69374b661aa", + "zh:3d7121da1fa92166c9ea26f3c9839cef06833420d6c46978b4cbbfd0b5050791", + "zh:6b7f5a3b28ec3a631d689f599a39bfe98ca5b785353b01e374cff655b097a791", + "zh:7882291716d2d03df5ece721429770452db76c712fcff08964c3a7c0b639f703", + "zh:95250c5768610d69a28501f03176b6a05a5d5ac2ae317cb582d94b044b3272b3", + "zh:b16a622a76bee455c8b256d828f8a60515e1e9dad38420a4db1be9b9e16d474a", + "zh:c805822f0ba57e8063b6201e1f351aa4dbd5ad8886dedd25d809e5aeb9aa0259", + "zh:e1c3a0da5576aec4a48f897cd04b739c1f533cdb0005ce4c7f5bc45808b799b1", + ] +} + +provider "registry.terraform.io/hashicorp/local" { + version = "2.1.0" + constraints = ">= 1.2.0" + hashes = [ + "h1:/OpJKWupvFd8WJX1mTt8vi01pP7dkA6e//4l4C3TExE=", + "zh:0f1ec65101fa35050978d483d6e8916664b7556800348456ff3d09454ac1eae2", + "zh:36e42ac19f5d68467aacf07e6adcf83c7486f2e5b5f4339e9671f68525fc87ab", + "zh:6db9db2a1819e77b1642ec3b5e95042b202aee8151a0256d289f2e141bf3ceb3", + "zh:719dfd97bb9ddce99f7d741260b8ece2682b363735c764cac83303f02386075a", + "zh:7598bb86e0378fd97eaa04638c1a4c75f960f62f69d3662e6d80ffa5a89847fe", + "zh:ad0a188b52517fec9eca393f1e2c9daea362b33ae2eb38a857b6b09949a727c1", + "zh:c46846c8df66a13fee6eff7dc5d528a7f868ae0dcf92d79deaac73cc297ed20c", + "zh:dc1a20a2eec12095d04bf6da5321f535351a594a636912361db20eb2a707ccc4", + "zh:e57ab4771a9d999401f6badd8b018558357d3cbdf3d33cc0c4f83e818ca8e94b", + "zh:ebdcde208072b4b0f8d305ebf2bfdc62c926e0717599dcf8ec2fd8c5845031c3", + "zh:ef34c52b68933bedd0868a13ccfd59ff1c820f299760b3c02e008dc95e2ece91", + ] +} diff --git a/README.md b/README.md index 324249a..64fd50f 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,10 @@ In order to run all checks at any point run the following command: ## Requirements -No requirements. +| Name | Version | +|------|---------| +| [terraform](#requirement\_terraform) | >= 0.13 | +| [aws](#requirement\_aws) | >= 4 | ## Providers @@ -48,8 +51,8 @@ No providers. | Name | Source | Version | |------|--------|---------| -| [aws\_cw\_logs](#module\_aws\_cw\_logs) | cn-terraform/cloudwatch-logs/aws | 1.0.8 | -| [ecs\_fargate](#module\_ecs\_fargate) | cn-terraform/ecs-fargate/aws | 2.0.28 | +| [aws\_cw\_logs](#module\_aws\_cw\_logs) | cn-terraform/cloudwatch-logs/aws | 1.0.9 | +| [ecs\_fargate](#module\_ecs\_fargate) | cn-terraform/ecs-fargate/aws | 2.0.29 | ## Resources diff --git a/examples/test/.terraform.lock.hcl b/examples/test/.terraform.lock.hcl index ceb2caf..e19016d 100644 --- a/examples/test/.terraform.lock.hcl +++ b/examples/test/.terraform.lock.hcl @@ -2,21 +2,21 @@ # Manual edits may be lost in future updates. provider "registry.terraform.io/hashicorp/aws" { - version = "3.74.1" - constraints = "3.74.1" + version = "4.0.0" + constraints = ">= 3.74.0" hashes = [ - "h1:8Z4st+zKL+rqJRVSUtopbJP0cCp6UBr+5QuZfIz8h6c=", - "zh:2de9a8c19e07ea3b12c3fe5fe23ffa71354f90683d1f3ded41f2f318e8bad401", - "zh:3f651572f9ad067e119ed083d25455627ae121d36e737823f1d89445949f8ca0", - "zh:468c5954ea646e8edbf70c5a3dbce3d9591a47259f3cf3bdfb2c8728a5e3a083", - "zh:5b379f4803268d3a2cde0bd8a2b6b0a3752e0a22d2cb15a9a28c6a8852d17840", - "zh:5f1271620def1e199afad2377e37ab194f5d5ea51ff804c0e7d468fc4a48b741", - "zh:770783d8d743f28ecaeaf7485f9d602071d610278e33347a692ebb75ae690a8f", - "zh:aecfa7b52f39cbfb1ef53576935ad6cc05deebf82d0b8b6b82c10727469d1c85", - "zh:c905af45fc8cb64fe566c5b35241baf5e5850e137ebbd59a3298321648d05046", - "zh:d7dabb6a110073c8adaf34af288a485714b4be7185304d491f042827a77f9d5f", - "zh:e8ccc2ef2465164ce467f32d58e5ffad74da92cc3733551aef5e0d839532e3d4", - "zh:f1c2c9145383ab8675eab68398b53cf33edb2665d64ef2e48e0444771fa5849e", + "h1:StwpoFw0rXHgAVGV1M/QZaN9OfGx/3+mo1EjjFpbu9w=", + "zh:02937cb37860b022e7d996726e7584ca23904baf7852d266f2dd7891ee088ae4", + "zh:259dd5790ec5f4e6814c9584c79834dce3d719e932ce662b21f13434e9441194", + "zh:2d230c8c92c3cb2c07471a4324d802c44365dcf99fe0d562cc737d1f964e9c1d", + "zh:380b04e78934519469e699c537516ae1674d15f77c6778c2738cd69374b661aa", + "zh:3d7121da1fa92166c9ea26f3c9839cef06833420d6c46978b4cbbfd0b5050791", + "zh:6b7f5a3b28ec3a631d689f599a39bfe98ca5b785353b01e374cff655b097a791", + "zh:7882291716d2d03df5ece721429770452db76c712fcff08964c3a7c0b639f703", + "zh:95250c5768610d69a28501f03176b6a05a5d5ac2ae317cb582d94b044b3272b3", + "zh:b16a622a76bee455c8b256d828f8a60515e1e9dad38420a4db1be9b9e16d474a", + "zh:c805822f0ba57e8063b6201e1f351aa4dbd5ad8886dedd25d809e5aeb9aa0259", + "zh:e1c3a0da5576aec4a48f897cd04b739c1f533cdb0005ce4c7f5bc45808b799b1", ] } diff --git a/examples/test/main.tf b/examples/test/main.tf index 9855f5a..c02eea7 100644 --- a/examples/test/main.tf +++ b/examples/test/main.tf @@ -1,6 +1,5 @@ module "base-network" { source = "cn-terraform/networking/aws" - version = "2.0.13" name_prefix = "test-networking" vpc_cidr_block = "192.168.0.0/16" availability_zones = ["us-east-1a", "us-east-1b", "us-east-1c", "us-east-1d"] diff --git a/examples/test/mock_provider.tf b/examples/test/mock_provider.tf index 0f88a97..934ad5a 100644 --- a/examples/test/mock_provider.tf +++ b/examples/test/mock_provider.tf @@ -3,7 +3,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "3.74.1" + version = ">= 4" } } } @@ -13,7 +13,7 @@ provider "aws" { skip_credentials_validation = true skip_requesting_account_id = true skip_metadata_api_check = true - s3_force_path_style = true + s3_use_path_style = true access_key = "mock_access_key" secret_key = "mock_secret_key" } diff --git a/versions.tf b/versions.tf index 0533bdc..797363a 100644 --- a/versions.tf +++ b/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "3.74.1" + version = ">= 4" } } }