-
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
New resource aws_quicksight_folder #30400
Conversation
Community NoteVoting for Prioritization
For Submitters
|
e7166de
to
56e9e54
Compare
d80b3fa
to
bd10f74
Compare
bd10f74
to
9c27944
Compare
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=quicksight TESTS=TestAccQuickSightFolder_
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/quicksight/... -v -count 1 -parallel 20 -run='TestAccQuickSightFolder_' -timeout 180m
=== RUN TestAccQuickSightFolder_basic
=== PAUSE TestAccQuickSightFolder_basic
=== RUN TestAccQuickSightFolder_disappears
=== PAUSE TestAccQuickSightFolder_disappears
=== RUN TestAccQuickSightFolder_permissions
=== PAUSE TestAccQuickSightFolder_permissions
=== RUN TestAccQuickSightFolder_tags
=== PAUSE TestAccQuickSightFolder_tags
=== RUN TestAccQuickSightFolder_parentFolder
=== PAUSE TestAccQuickSightFolder_parentFolder
=== CONT TestAccQuickSightFolder_basic
=== CONT TestAccQuickSightFolder_tags
=== CONT TestAccQuickSightFolder_permissions
=== CONT TestAccQuickSightFolder_parentFolder
=== CONT TestAccQuickSightFolder_disappears
--- PASS: TestAccQuickSightFolder_disappears (13.91s)
--- PASS: TestAccQuickSightFolder_basic (19.86s)
--- PASS: TestAccQuickSightFolder_parentFolder (42.51s)
--- PASS: TestAccQuickSightFolder_tags (51.28s)
--- PASS: TestAccQuickSightFolder_permissions (60.60s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/quicksight 64.131s
Thanks for your contribution, @comtef! 👏 |
This functionality has been released in v4.62.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
Implementation of aws_quicksight_folder.
I refactored common code for permissions and fixed an issue as all permissions needs to be included in grants, even already present actions. Otherwise, the API raises this kind of error:
Relations
Relates #10990
Closes #23083
References
https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CreateFolder.html
https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DeleteFolder.html
https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DescribeFolder.html
https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DescribeFolderPermissions.html
https://docs.aws.amazon.com/quicksight/latest/APIReference/API_UpdateFolder.html
https://docs.aws.amazon.com/quicksight/latest/APIReference/API_UpdateFolderPermissions.html
Output from Acceptance Testing