Skip to content

Commit 52b2f73

Browse files
authored
Merge pull request #7 from voyagegroup/change-lifecycle-values
aws_ecs_service ignores updating task_definition
2 parents b7b0f25 + 3689bfe commit 52b2f73

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

service_load_balancing/README.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,18 @@ Basic Usage
8686
}
8787
8888
89+
A note of caution
90+
-----------------
91+
92+
Currently `aws_ecs_service.main.task_definition` is ignored by lifecycle
93+
cause task_definition is updated often via continuous ecs deployment.
94+
95+
Although it is a difficult decision, we hope to support dynamic lifecycle
96+
featured by Terraform.
97+
98+
See detail: [#1](https://github.com/voyagegroup/tf_aws_ecs/issues/1)
99+
100+
89101
Advanced Usage
90102
==============
91103

service_load_balancing/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ resource "aws_ecs_service" "main" {
3030
# https://github.com/hashicorp/terraform/issues/3116
3131
ignore_changes = [
3232
"desired_count",
33+
"task_definition",
3334
]
3435
}
3536

0 commit comments

Comments
 (0)