-
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/codeartifact_domain_permissions_policy - new resource #13753
r/codeartifact_domain_permissions_policy - new resource #13753
Conversation
I suggest renaming the resource to |
Validated acceptance tests: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSCodeArtifactDomainPermissions_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSCodeArtifactDomainPermissions_ -timeout 120m
=== RUN TestAccAWSCodeArtifactDomainPermissions_basic
=== PAUSE TestAccAWSCodeArtifactDomainPermissions_basic
=== RUN TestAccAWSCodeArtifactDomainPermissions_disappears
=== PAUSE TestAccAWSCodeArtifactDomainPermissions_disappears
=== CONT TestAccAWSCodeArtifactDomainPermissions_basic
=== CONT TestAccAWSCodeArtifactDomainPermissions_disappears
--- PASS: TestAccAWSCodeArtifactDomainPermissions_disappears (28.04s)
--- PASS: TestAccAWSCodeArtifactDomainPermissions_basic (31.39s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 31.441s I suggest also adding a test which deletes the domain testAccCheckResourceDisappears(testAccProvider, resourceAwsCodeArtifactDomain(), resourceName), and verifies a non-empty plan. |
78ffba5
to
d333917
Compare
2058b3e
to
3e952ef
Compare
1b9d83c
to
c6999a1
Compare
add owner test case fix docs
266edf0
to
7a90ac3
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 TEST=./aws/ TESTARGS='-run=TestAccAWSCodeArtifactDomainPermissionsPolicy_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCodeArtifactDomainPermissionsPolicy_ -timeout 120m
=== RUN TestAccAWSCodeArtifactDomainPermissionsPolicy_basic
=== PAUSE TestAccAWSCodeArtifactDomainPermissionsPolicy_basic
=== RUN TestAccAWSCodeArtifactDomainPermissionsPolicy_owner
=== PAUSE TestAccAWSCodeArtifactDomainPermissionsPolicy_owner
=== RUN TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears
=== PAUSE TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears
=== RUN TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears_domain
=== PAUSE TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears_domain
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears_domain
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_owner
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_basic
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears
resource_aws_codeartifact_domain_permissions_policy_test.go:86: [INFO] Got non-empty plan, as expected
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears_domain
resource_aws_codeartifact_domain_permissions_policy_test.go:107: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears_domain (27.63s)
--- PASS: TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears (28.08s)
--- PASS: TestAccAWSCodeArtifactDomainPermissionsPolicy_owner (30.61s)
--- PASS: TestAccAWSCodeArtifactDomainPermissionsPolicy_basic (44.77s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 44.816s
LGTM! 🚀 Thanks @DrFaust92 Verified Acceptance Tests in Commercial (us-west-2) make testacc TESTARGS='-run=TestAccAWSCodeArtifactDomainPermissionsPolicy_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCodeArtifactDomainPermissionsPolicy_ -timeout 120m
=== RUN TestAccAWSCodeArtifactDomainPermissionsPolicy_basic
=== PAUSE TestAccAWSCodeArtifactDomainPermissionsPolicy_basic
=== RUN TestAccAWSCodeArtifactDomainPermissionsPolicy_owner
=== PAUSE TestAccAWSCodeArtifactDomainPermissionsPolicy_owner
=== RUN TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears
=== PAUSE TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears
=== RUN TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears_domain
=== PAUSE TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears_domain
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_basic
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears_domain
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_owner
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears_domain
resource_aws_codeartifact_domain_permissions_policy_test.go:107: [INFO] Got non-empty plan, as expected
=== CONT TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears
resource_aws_codeartifact_domain_permissions_policy_test.go:86: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears_domain (16.69s)
--- PASS: TestAccAWSCodeArtifactDomainPermissionsPolicy_disappears (18.57s)
--- PASS: TestAccAWSCodeArtifactDomainPermissionsPolicy_owner (18.96s)
--- PASS: TestAccAWSCodeArtifactDomainPermissionsPolicy_basic (30.47s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 32.408s
|
This has been released in version 3.9.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
Relates #13714 , Depends on #13743
Release note for CHANGELOG:
Output from acceptance testing: