-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
b/aws_resourceexplorer2_index error create AGGREGATOR index and r/aws_resourceexplorer2_view new argument: scope #39744
b/aws_resourceexplorer2_index error create AGGREGATOR index and r/aws_resourceexplorer2_view new argument: scope #39744
Conversation
…ted index creation issue during cool down period
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 TESTARGS='-run=TestAccResourceExplorer2_serial/^Index$$' PKG=resourceexplorer2
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/resourceexplorer2/... -v -count 1 -parallel 20 -run=TestAccResourceExplorer2_serial/^Index$ -timeout 360m
2024/10/16 09:56:44 Initializing Terraform AWS Provider...
=== RUN TestAccResourceExplorer2_serial
=== RUN TestAccResourceExplorer2_serial/Index
=== RUN TestAccResourceExplorer2_serial/Index/basic
=== RUN TestAccResourceExplorer2_serial/Index/disappears
=== RUN TestAccResourceExplorer2_serial/Index/tags
=== RUN TestAccResourceExplorer2_serial/Index/type
--- PASS: TestAccResourceExplorer2_serial (107.44s)
--- PASS: TestAccResourceExplorer2_serial/Index (107.44s)
--- PASS: TestAccResourceExplorer2_serial/Index/basic (16.08s)
--- PASS: TestAccResourceExplorer2_serial/Index/disappears (12.93s)
--- PASS: TestAccResourceExplorer2_serial/Index/tags (29.40s)
--- PASS: TestAccResourceExplorer2_serial/Index/type (49.90s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/resourceexplorer2 112.658s
% make testacc TESTARGS='-run=TestAccResourceExplorer2_serial/^View$$' PKG=resourceexplorer2
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/resourceexplorer2/... -v -count 1 -parallel 20 -run=TestAccResourceExplorer2_serial/^View$ -timeout 360m
2024/10/16 10:19:53 Initializing Terraform AWS Provider...
=== RUN TestAccResourceExplorer2_serial
=== RUN TestAccResourceExplorer2_serial/View
=== RUN TestAccResourceExplorer2_serial/View/basic
=== RUN TestAccResourceExplorer2_serial/View/defaultView
=== RUN TestAccResourceExplorer2_serial/View/disappears
=== RUN TestAccResourceExplorer2_serial/View/filter
=== RUN TestAccResourceExplorer2_serial/View/scope
=== RUN TestAccResourceExplorer2_serial/View/tags
--- PASS: TestAccResourceExplorer2_serial (138.69s)
--- PASS: TestAccResourceExplorer2_serial/View (138.69s)
--- PASS: TestAccResourceExplorer2_serial/View/basic (16.42s)
--- PASS: TestAccResourceExplorer2_serial/View/defaultView (31.37s)
--- PASS: TestAccResourceExplorer2_serial/View/disappears (14.51s)
--- PASS: TestAccResourceExplorer2_serial/View/filter (23.88s)
--- PASS: TestAccResourceExplorer2_serial/View/scope (21.43s)
--- PASS: TestAccResourceExplorer2_serial/View/tags (31.07s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/resourceexplorer2 143.683s
@alexbacchin Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.72.1 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
This PR:
aws_resourceexplorer2_index
fixes Resource Explorer Index creation issue when type isAGGREGATOR
during cool down period. The dangling LOCAL index is deleted for eventual consistency.aws_resourceexplorer2_view
adds thescope
argument allowing including resources from the AWS Organization or its organization units.Relations
Closes #34411
References
https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region-turn-on.html
Output from Acceptance Testing
The
testAccIndex_disappears
andtestAccView_disappears
are failing before even raising this PR. I could not fix these, so they were skipped from the test results below.