-
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
Rolesanywhere trustanchor resource #25779
Rolesanywhere trustanchor resource #25779
Conversation
b05e32a
to
6ca1012
Compare
I'm struggling a bit to understand what's going on with my acceptance tests. I used the kendra acctests as guidance, given my unfamiliarity with the changes with the AWS SDK v2 way of doing things:
It looks as if it's crashing within the SDK, but I think I've got the provider configured correctly (the tests call |
@mattburgess It looks like |
Awesome, thanks @ewbankkit. I'd completely forgotten I'd had to mark client-gen to be skipped in the names csv file! I've followed the same pattern as Kendra in |
6ca1012
to
a078082
Compare
Marking as ready for review as it's passing the 3 "minimal" acceptance tests. I'll work on adding some more in due course, as this only currently tests ACM-PCA based Trust Anchors |
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=TestAccRolesAnywhereTrustAnchor_' PKG=rolesanywhere ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/rolesanywhere/... -v -count 1 -parallel 2 -run=TestAccRolesAnywhereTrustAnchor_ -timeout 180m
=== RUN TestAccRolesAnywhereTrustAnchor_basic
=== PAUSE TestAccRolesAnywhereTrustAnchor_basic
=== RUN TestAccRolesAnywhereTrustAnchor_tags
=== PAUSE TestAccRolesAnywhereTrustAnchor_tags
=== RUN TestAccRolesAnywhereTrustAnchor_disappears
=== PAUSE TestAccRolesAnywhereTrustAnchor_disappears
=== RUN TestAccRolesAnywhereTrustAnchor_certificateBundle
=== PAUSE TestAccRolesAnywhereTrustAnchor_certificateBundle
=== CONT TestAccRolesAnywhereTrustAnchor_basic
=== CONT TestAccRolesAnywhereTrustAnchor_disappears
--- PASS: TestAccRolesAnywhereTrustAnchor_disappears (23.89s)
=== CONT TestAccRolesAnywhereTrustAnchor_certificateBundle
--- PASS: TestAccRolesAnywhereTrustAnchor_basic (26.18s)
=== CONT TestAccRolesAnywhereTrustAnchor_tags
--- PASS: TestAccRolesAnywhereTrustAnchor_certificateBundle (17.36s)
--- PASS: TestAccRolesAnywhereTrustAnchor_tags (51.61s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/rolesanywhere 81.945s
@mattburgess Thanks for the contribution 🎉 👏. |
% make providerlint golangci-lint
==> Checking source code with providerlint...
==> Checking source code with golangci-lint... |
This functionality has been released in v4.23.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. |
Community Note
Relates #25727
Output from acceptance testing: