Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround for re-creation of ECS service
It's a workaround of a bug hashicorp/terraform-provider-aws#22823 Terraform never converged and wanted to re-create the service. ``` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: -/+ destroy and then create replacement Terraform will perform the following actions: # module.test.aws_ecs_service.ecs must be replaced -/+ resource "aws_ecs_service" "ecs" { - health_check_grace_period_seconds = 0 -> null ~ iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> (known after apply) ~ id = "arn:aws:ecs:us-east-2:303467602807:service/test-terraform-aws-ecs/test-terraform-aws-ecs" -> (known after apply) + launch_type = (known after apply) name = "test-terraform-aws-ecs" + platform_version = (known after apply) - propagate_tags = "NONE" -> null - tags = {} -> null ~ triggers = {} -> (known after apply) # (10 unchanged attributes hidden) - capacity_provider_strategy { # forces replacement - base = 1 -> null - capacity_provider = "test-terraform-aws-ecs" -> null - weight = 100 -> null } - deployment_circuit_breaker { - enable = false -> null - rollback = false -> null } - deployment_controller { - type = "ECS" -> null } # (1 unchanged block hidden) } ```
- Loading branch information