Skip to content

Commit 5970127

Browse files
feat: Add support for linear deployment strategy and canary deployment strategy to aws ecs service
1 parent 69ee449 commit 5970127

File tree

14 files changed

+53
-15
lines changed

14 files changed

+53
-15
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

examples/complete/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ Note that this example may create resources which will incur monetary charges on
2727
| Name | Version |
2828
|------|---------|
2929
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
30-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.14 |
30+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.21 |
3131

3232
## Providers
3333

3434
| Name | Version |
3535
|------|---------|
36-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.14 |
36+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.21 |
3737

3838
## Modules
3939

examples/complete/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 6.14"
7+
version = ">= 6.21"
88
}
99
}
1010
}

examples/container-definition/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Note that this example may create resources which will incur monetary charges on
2222
| Name | Version |
2323
|------|---------|
2424
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
25-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.14 |
25+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.21 |
2626
| <a name="requirement_null"></a> [null](#requirement\_null) | >= 3.2 |
2727

2828
## Providers

examples/container-definition/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 6.14"
7+
version = ">= 6.21"
88
}
99
null = {
1010
source = "hashicorp/null"

examples/ec2-autoscaling/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ Note that this example may create resources which will incur monetary charges on
2727
| Name | Version |
2828
|------|---------|
2929
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
30-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.14 |
30+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.21 |
3131

3232
## Providers
3333

3434
| Name | Version |
3535
|------|---------|
36-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.14 |
36+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.21 |
3737

3838
## Modules
3939

examples/ec2-autoscaling/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 6.14"
7+
version = ">= 6.21"
88
}
99
}
1010
}

examples/fargate/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ Note that this example may create resources which will incur monetary charges on
2727
| Name | Version |
2828
|------|---------|
2929
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
30-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.14 |
30+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.21 |
3131

3232
## Providers
3333

3434
| Name | Version |
3535
|------|---------|
36-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.14 |
36+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.21 |
3737

3838
## Modules
3939

examples/fargate/main.tf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,18 @@ module "ecs_service" {
7979
# lifecycle_stages = ["TEST_TRAFFIC_SHIFT", "POST_PRODUCTION_TRAFFIC_SHIFT"]
8080
# }
8181
# }
82+
83+
# # Example config using linear deployment strategy
84+
# linear_configuration {
85+
# step_percent = 25.0
86+
# step_bake_time_in_minutes = 5
87+
# }
88+
89+
# # Example config using canary deployment strategy
90+
# canary_configuration {
91+
# canary_percent = 10.0
92+
# canary_bake_time_in_minutes = 5
93+
# }
8294
}
8395

8496
# Container definition(s)

examples/fargate/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 6.14"
7+
version = ">= 6.21"
88
}
99
}
1010
}

0 commit comments

Comments
 (0)