-
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/workspaces_directory - add attributes + fix tags #13089
Conversation
@ewbankkit , i've created a separate tags test case and noticed that tags aren't removed properly only added. i think its missing some diff logic and actually remove those tags. thoughts? |
@DrFaust92 I think you're correct, if my comment
is right. |
generating the workspaces tagging func with the internal keyvalues package seems to have fixed it. i'll open a follow up to amend tests for other workspaces resources (spoiler, I tested it for the other ones first because it took less time to run an validate) |
d95984a
to
df61fd3
Compare
Verified acceptance tests: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAwsWorkspacesDirectory'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAwsWorkspacesDirectory -timeout 120m
=== RUN TestAccAwsWorkspacesDirectory
=== RUN TestAccAwsWorkspacesDirectory/subnetIds
=== RUN TestAccAwsWorkspacesDirectory/tags
=== RUN TestAccAwsWorkspacesDirectory/basic
=== RUN TestAccAwsWorkspacesDirectory/disappears
--- PASS: TestAccAwsWorkspacesDirectory (2571.63s)
--- PASS: TestAccAwsWorkspacesDirectory/subnetIds (630.31s)
--- PASS: TestAccAwsWorkspacesDirectory/tags (663.52s)
--- PASS: TestAccAwsWorkspacesDirectory/basic (670.33s)
--- PASS: TestAccAwsWorkspacesDirectory/disappears (607.46s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 2571.667s |
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 🚀
--- PASS: TestExpandSelfServicePermissions (0.00s)
--- PASS: TestFlattenSelfServicePermissions (0.00s)
--- PASS: TestAccAwsWorkspacesDirectory (2456.83s)
--- PASS: TestAccAwsWorkspacesDirectory/tags (586.99s)
--- PASS: TestAccAwsWorkspacesDirectory/basic (705.10s)
--- PASS: TestAccAwsWorkspacesDirectory/disappears (572.86s)
--- PASS: TestAccAwsWorkspacesDirectory/subnetIds (591.88s)
This has been released in version 2.61.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! |
Community Note
Closes #13070
Release note for CHANGELOG:
Output from acceptance testing: