-
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
r/aws_appautoscaling_scheduled_action: Fix bugs #8777
r/aws_appautoscaling_scheduled_action: Fix bugs #8777
Conversation
…eft undefined so that they can be used individually.
@bflad If you have time, this one also needs a review. |
I have found more bugs in this resource.. For example, it does not detect changes (e.g. updated Do you want me to add more fixes to this PR, or open two new smaller PRs? |
…ate multiple scheduled actions with the same name if they target different resources. For example, you can have multiple scheduled actions named "scale-down" that target different Aurora clusters.
… allows us to update these attributes.
…updating these attributes, we can just put and it will overwrite the existing resource.
…e in resource_aws_launch_template.go.
Okay, I decided to put it all in here since it's all kind of dependent on each other. I tried to be as descriptive as possible in my commit messages. Let me know what needs tweaking. And the test is still passing!
|
@ewbankkit @bflad This PR needs I think it's done and from what I remember everything was working when I created this PR (over 250 days ago!). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, @stefansundin. I've made some updates to the acceptance tests and made the Update call only update parameters that have changed 🚀
This has been released in version 3.32.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! |
Do not default max_capacity and min_capacity to 0. Allow them to be left undefined to allow either one to be used individually.
Basically, it is currently impossible to use Terraform to create the following:
Basically, this provider would set
max_capacity = 0
, which would very likely trigger the following error:This change allows for specifying only
min_capacity
, or onlymax_capacity
.Community Note
Release note for CHANGELOG:
Output from acceptance testing:
With only the test change, the following happened: