-
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
ressource/aws_budgets_budget_action : No longer waits for action to have completed running or be pending #33015
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.
LGTM 🎉
% make testacc PKG=budgets TESTS=TestAccBudgetsBudgetAction_
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/budgets/... -v -count 1 -parallel 20 -run='TestAccBudgetsBudgetAction_' -timeout 180m
--- PASS: TestAccBudgetsBudgetAction_basic (28.81s)
--- PASS: TestAccBudgetsBudgetAction_triggeredAutomatic (29.32s)
--- PASS: TestAccBudgetsBudgetAction_triggeredManual (29.32s)
--- PASS: TestAccBudgetsBudgetAction_disappears (30.45s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/budgets 33.584s
This functionality has been released in v5.13.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! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
The current behaviour of
aws_budgets_budget_action
waits for the action to have completed or be in a pending state for manual approval. If a budget action is not triggered, none of these states will be valid, and the action will be in standby status.No longer waits for any status, since creation of an action is a synchronous operation. Adds guard to deletion, since an action cannot be deleted while in progress.
Relations
Closes #31236
Output from Acceptance Testing