Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECS Service is not Re-created when Service Registries Changed #17386

Closed
adam-tylr opened this issue Feb 1, 2021 · 3 comments · Fixed by #17387
Closed

ECS Service is not Re-created when Service Registries Changed #17386

adam-tylr opened this issue Feb 1, 2021 · 3 comments · Fixed by #17387
Assignees
Labels
service/ecs Issues and PRs that pertain to the ecs service.
Milestone

Comments

@adam-tylr
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform AWS Provider Version

3.20.0

Affected Resource(s)

  • aws_ecs_service

Terraform Configuration Files

Will be included in PR

Debug Output

Error: Error updating ECS Service (arn:aws:ecs:us-east-1::service/service): ClientException: The service registry could not be validated. Route 53 error: "ServiceNotFound."

Expected Behavior

The service should be destroyed and re-created

Actual Behavior

Terraform attempts to update the service in place and fails

Steps to Reproduce

  1. terraform apply

Important Factoids

Updating existing services to configure service discovery for the first time or change the current configuration is not supported.

From Here

@ghost ghost added the service/ecs Issues and PRs that pertain to the ecs service. label Feb 1, 2021
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Feb 1, 2021
@adam-tylr
Copy link
Contributor Author

Steps to reproduce and terraform config can be found in the PR integration test #17387

@github-actions github-actions bot added this to the v3.34.0 milestone Mar 25, 2021
@YakDriver YakDriver self-assigned this Mar 25, 2021
@ghost
Copy link

ghost commented Mar 26, 2021

This has been released in version 3.34.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@YakDriver YakDriver removed the needs-triage Waiting for first response or review from a maintainer. label Apr 16, 2021
@ghost
Copy link

ghost commented Apr 25, 2021

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!

@ghost ghost locked as resolved and limited conversation to collaborators Apr 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/ecs Issues and PRs that pertain to the ecs service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants