Skip to content

Commit a828ce8

Browse files
committed
Update AWS privider
1 parent 82abad1 commit a828ce8

File tree

6 files changed

+41
-44
lines changed

6 files changed

+41
-44
lines changed

.terraform.lock.hcl

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -53,31 +53,31 @@ In order to run all checks at any point run the following command:
5353
| Name | Version |
5454
|------|---------|
5555
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
56-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 3.74.1 |
56+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4 |
5757
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.1.0 |
5858

5959
## Providers
6060

6161
| Name | Version |
6262
|------|---------|
63-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 3.74.1 |
63+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.0.0 |
6464

6565
## Modules
6666

6767
| Name | Source | Version |
6868
|------|--------|---------|
69-
| <a name="module_ecs-alb"></a> [ecs-alb](#module\_ecs-alb) | cn-terraform/ecs-alb/aws | 1.0.12 |
69+
| <a name="module_ecs-alb"></a> [ecs-alb](#module\_ecs-alb) | cn-terraform/ecs-alb/aws | 1.0.13 |
7070
| <a name="module_ecs-autoscaling"></a> [ecs-autoscaling](#module\_ecs-autoscaling) | cn-terraform/ecs-service-autoscaling/aws | 1.0.4 |
7171

7272
## Resources
7373

7474
| Name | Type |
7575
|------|------|
76-
| [aws_ecs_service.service](https://registry.terraform.io/providers/hashicorp/aws/3.74.1/docs/resources/ecs_service) | resource |
77-
| [aws_security_group.ecs_tasks_sg](https://registry.terraform.io/providers/hashicorp/aws/3.74.1/docs/resources/security_group) | resource |
78-
| [aws_security_group_rule.egress](https://registry.terraform.io/providers/hashicorp/aws/3.74.1/docs/resources/security_group_rule) | resource |
79-
| [aws_security_group_rule.ingress_through_http](https://registry.terraform.io/providers/hashicorp/aws/3.74.1/docs/resources/security_group_rule) | resource |
80-
| [aws_security_group_rule.ingress_through_https](https://registry.terraform.io/providers/hashicorp/aws/3.74.1/docs/resources/security_group_rule) | resource |
76+
| [aws_ecs_service.service](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service) | resource |
77+
| [aws_security_group.ecs_tasks_sg](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) | resource |
78+
| [aws_security_group_rule.egress](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) | resource |
79+
| [aws_security_group_rule.ingress_through_http](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) | resource |
80+
| [aws_security_group_rule.ingress_through_https](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) | resource |
8181

8282
## Inputs
8383

examples/test/.terraform.lock.hcl

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/test/main.tf

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
module "cluster" {
2-
source = "cn-terraform/ecs-cluster/aws"
3-
version = "1.0.7"
4-
name = "test-cluster"
2+
source = "cn-terraform/ecs-cluster/aws"
3+
name = "test-cluster"
54
}
65

76
module "base-network" {
87
source = "cn-terraform/networking/aws"
9-
version = "2.0.13"
108
name_prefix = "test-networking"
119
vpc_cidr_block = "192.168.0.0/16"
1210
availability_zones = ["us-east-1a", "us-east-1b", "us-east-1c", "us-east-1d"]
@@ -16,7 +14,6 @@ module "base-network" {
1614

1715
module "td" {
1816
source = "cn-terraform/ecs-fargate-task-definition/aws"
19-
version = "1.0.24"
2017
name_prefix = "test-td"
2118
container_image = "ubuntu"
2219
container_name = "test"

examples/test/mock_provider.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
aws = {
55
source = "hashicorp/aws"
6-
version = "3.74.1"
6+
version = ">= 4"
77
}
88
local = {
99
source = "hashicorp/local"
@@ -17,7 +17,7 @@ provider "aws" {
1717
skip_credentials_validation = true
1818
skip_requesting_account_id = true
1919
skip_metadata_api_check = true
20-
s3_force_path_style = true
20+
s3_use_path_style = true
2121
access_key = "mock_access_key"
2222
secret_key = "mock_secret_key"
2323
}

versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
aws = {
55
source = "hashicorp/aws"
6-
version = "3.74.1"
6+
version = ">= 4"
77
}
88
local = {
99
source = "hashicorp/local"

0 commit comments

Comments
 (0)