-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Error creating Capacity Providers on ECS Cluster #11338
Comments
ok this works now i think was issue with my autoscaling group not able to update when launch configuration changes so i fixed that and now i am able to create capacity provider BUT when the capacity provider was created after a successful terraform apply, i am not able to see it under the "capacity providers" tab of the ECS cluster am i missing anything? where do i see the capacity provider created by terraform? |
here is latest when trying to attach the capacity provider created to the ECS cluster
|
final update! when i used works now when i referenced the capacity provider by the |
@encryptblockr : Can you share the syntax you've used, and did you hardcode the value? It works fine when I hard code the name of the capacity provider But it throws an error when i try to refer it like The error doesn't give any details, and just names some resources in my project. |
I'm seeing the same as @encryptblockr where
|
I was also able to confirm using the This appears to only be an issue with the Terraform documentation. The aws cli docs do not indicate the full arn can be used, but only the name of the capacity provider(s).
EDIT: I have found the source markdown and am working on a pull request to update the documentation. |
This has been released in version 2.44.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! |
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! |
getting these errors with this push
using latest terraform and latest aws provider
i have enabled
protect_from_scale_in = true
for the autoscaling group so not sure what the issue isReferences
#11151
The text was updated successfully, but these errors were encountered: