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

can not update capacity provider using same name #11358

Closed
encryptblockr opened this issue Dec 18, 2019 · 2 comments
Closed

can not update capacity provider using same name #11358

encryptblockr opened this issue Dec 18, 2019 · 2 comments

Comments

@encryptblockr
Copy link

encryptblockr commented Dec 18, 2019

Can not update capacity provider if already exists, so maybe have a name_prefix option so we can add this

    lifecycle {
     create_before_destroy = true
   }

and solve this issue?

Error: error creating capacity provider: ClientException: The specified capacity provider already exists. To change the configuration of an existing capacity provider, update the capacity provider.
$ terraform -v
Terraform v0.12.18
+ provider.aws v2.42.0
+ provider.template v2.1.2

#11151

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Dec 18, 2019
@encryptblockr
Copy link
Author

fixed this by just using the name of autoscaling group which uses the name of the launch configuration since the launch configuration changes and helps to trigger updating the ASG and also the capacity provider

anyone having this issue should make name of capacity provider to like the name of autoscaling group or launch configuration

@ghost
Copy link

ghost commented Jan 18, 2020

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 and limited conversation to collaborators Jan 18, 2020
@breathingdust breathingdust removed the needs-triage Waiting for first response or review from a maintainer. label Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants