Terraform-provider-aws: AWS ECS services are force updated on each apply

Created on 17 Nov 2017  ยท  3Comments  ยท  Source: hashicorp/terraform-provider-aws

After the aws plugin update from 1.2.0 to 1.3.0 I started to see that on each apply terraform was doing (forces new resource) on the same services.

Something is broken in the delta checking between the current state and the actual infrastructure.

I've fixed the issue by setting version = "~> 1.2.0"

From what I've debugged, the container_definition of the service is containing the JSON instead of a hash which identifies the definition.

bug

Most helpful comment

Im filing a bug for this also, it happens in a lot of other resources
Will attach output as proof

All 3 comments

Im filing a bug for this also, it happens in a lot of other resources
Will attach output as proof

I believe this is a duplicate of https://github.com/terraform-providers/terraform-provider-aws/issues/2336 which has a proposal of solution in https://github.com/terraform-providers/terraform-provider-aws/pull/2339

For that reason I'm going to close this issue, but we'd certainly use some of your help in testing #2339

I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

Was this page helpful?
0 / 5 - 0 ratings