-
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
r/glue_registry - new resource #16418
Conversation
@@ -30,3 +32,9 @@ func stringifyAwsGluePartition(partValues *schema.Set) string { | |||
|
|||
return vals | |||
} | |||
|
|||
func CreateAwsGlueRegistryID(id string) *glue.RegistryId { |
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.
Nit. My understanding is that Create
and Parse
ID functions are meant to work on strings only, so this functionality can just be moved into finder.RegistryByID
.
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=TestAccAWSGlueRegistry_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueRegistry_ -timeout 120m
=== RUN TestAccAWSGlueRegistry_basic
=== PAUSE TestAccAWSGlueRegistry_basic
=== RUN TestAccAWSGlueRegistry_Description
=== PAUSE TestAccAWSGlueRegistry_Description
=== RUN TestAccAWSGlueRegistry_tags
=== PAUSE TestAccAWSGlueRegistry_tags
=== RUN TestAccAWSGlueRegistry_disappears
=== PAUSE TestAccAWSGlueRegistry_disappears
=== CONT TestAccAWSGlueRegistry_basic
=== CONT TestAccAWSGlueRegistry_disappears
=== CONT TestAccAWSGlueRegistry_tags
=== CONT TestAccAWSGlueRegistry_Description
--- PASS: TestAccAWSGlueRegistry_disappears (13.39s)
--- PASS: TestAccAWSGlueRegistry_basic (19.79s)
--- PASS: TestAccAWSGlueRegistry_Description (32.31s)
--- PASS: TestAccAWSGlueRegistry_tags (43.51s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 43.579s
Co-authored-by: Kit Ewbank <Kit_Ewbank@hotmail.com>
LGTM 🚀 Thanks @DrFaust92 Verified Acceptance Tests in Commercial (us-west-2). make testacc TEST=./aws TESTARGS='-run=TestAccAWSGlueRegistry_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueRegistry_ -timeout 120m
=== RUN TestAccAWSGlueRegistry_basic
=== PAUSE TestAccAWSGlueRegistry_basic
=== RUN TestAccAWSGlueRegistry_Description
=== PAUSE TestAccAWSGlueRegistry_Description
=== RUN TestAccAWSGlueRegistry_tags
=== PAUSE TestAccAWSGlueRegistry_tags
=== RUN TestAccAWSGlueRegistry_disappears
=== PAUSE TestAccAWSGlueRegistry_disappears
=== CONT TestAccAWSGlueRegistry_basic
=== CONT TestAccAWSGlueRegistry_disappears
=== CONT TestAccAWSGlueRegistry_tags
=== CONT TestAccAWSGlueRegistry_Description
--- PASS: TestAccAWSGlueRegistry_disappears (11.29s)
--- PASS: TestAccAWSGlueRegistry_basic (15.10s)
--- PASS: TestAccAWSGlueRegistry_Description (25.43s)
--- PASS: TestAccAWSGlueRegistry_tags (35.70s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 37.355s Verified Acceptance Tests in GovCloud (us-gov-west-1) (Registries appear not to be supported in GovCloud) make testacc TEST=./aws TESTARGS='-run=TestAccAWSGlueRegistry_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueRegistry_ -timeout 120m
=== RUN TestAccAWSGlueRegistry_basic
=== PAUSE TestAccAWSGlueRegistry_basic
=== RUN TestAccAWSGlueRegistry_Description
=== PAUSE TestAccAWSGlueRegistry_Description
=== RUN TestAccAWSGlueRegistry_tags
=== PAUSE TestAccAWSGlueRegistry_tags
=== RUN TestAccAWSGlueRegistry_disappears
=== PAUSE TestAccAWSGlueRegistry_disappears
=== CONT TestAccAWSGlueRegistry_basic
=== CONT TestAccAWSGlueRegistry_disappears
=== CONT TestAccAWSGlueRegistry_Description
=== CONT TestAccAWSGlueRegistry_tags
=== CONT TestAccAWSGlueRegistry_disappears
resource_aws_glue_registry_test.go:191: skipping acceptance testing: AccessDeniedException: Operation not allowed
--- SKIP: TestAccAWSGlueRegistry_disappears (0.99s)
=== CONT TestAccAWSGlueRegistry_tags
resource_aws_glue_registry_test.go:191: skipping acceptance testing: AccessDeniedException: Operation not allowed
--- SKIP: TestAccAWSGlueRegistry_tags (0.99s)
=== CONT TestAccAWSGlueRegistry_basic
resource_aws_glue_registry_test.go:191: skipping acceptance testing: AccessDeniedException: Operation not allowed
--- SKIP: TestAccAWSGlueRegistry_basic (1.00s)
=== CONT TestAccAWSGlueRegistry_Description
resource_aws_glue_registry_test.go:191: skipping acceptance testing: AccessDeniedException: Operation not allowed
--- SKIP: TestAccAWSGlueRegistry_Description (1.01s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 2.595s |
This has been released in version 3.19.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 #16342
Release note for CHANGELOG:
Output from acceptance testing: