-
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
Remove unnecessary upper limit on AppRunner Autoscaling Config max size. #39843
Remove unnecessary upper limit on AppRunner Autoscaling Config max size. #39843
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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.
Welcome @ohookins 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccAppRunnerAutoScalingConfigurationVersion_basic' PKG=apprunner
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/apprunner/... -v -count 1 -parallel 20 -run=TestAccAppRunnerAutoScalingConfigurationVersion_basic -timeout 360m
2024/10/23 09:06:13 Initializing Terraform AWS Provider...
=== RUN TestAccAppRunnerAutoScalingConfigurationVersion_basic
=== PAUSE TestAccAppRunnerAutoScalingConfigurationVersion_basic
=== CONT TestAccAppRunnerAutoScalingConfigurationVersion_basic
--- PASS: TestAccAppRunnerAutoScalingConfigurationVersion_basic (13.26s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 18.642s
@ohookins Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.73.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. Thank you! |
Description
As per #39830, while there is a default maximum autoscaling limit of 25 for AppRunner, it has been possible for some time now to raise the limit with a support request. Indeed, once this limit is raised, you can create an autoscaling config via the API with that arbitrary higher limit. Enforcing a limit in Terraform means we cannot create/update or maintain our actual working autoscaling config that has a higher limit (100 in our case).
There's no advertised actual limit that is possible, so it seems the most practical thing is just to validate the lower limit. At worst, an API error will be returned rather than an error at validation time.
Relations
Closes #39830
References
Output from Acceptance Testing
No tests affect this change.