-
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/glue_schema - new resource #16612
r/glue_schema - new resource #16612
Conversation
update = true | ||
} | ||
|
||
if update { |
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. Could use d.HasChangesExcept("schema_definition", "tags")
here.
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=TestAccAWSGlueSchema_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueSchema_ -timeout 120m
=== RUN TestAccAWSGlueSchema_basic
=== PAUSE TestAccAWSGlueSchema_basic
=== RUN TestAccAWSGlueSchema_description
=== PAUSE TestAccAWSGlueSchema_description
=== RUN TestAccAWSGlueSchema_compatibility
=== PAUSE TestAccAWSGlueSchema_compatibility
=== RUN TestAccAWSGlueSchema_tags
=== PAUSE TestAccAWSGlueSchema_tags
=== RUN TestAccAWSGlueSchema_schemaDefUpdated
=== PAUSE TestAccAWSGlueSchema_schemaDefUpdated
=== RUN TestAccAWSGlueSchema_disappears
=== PAUSE TestAccAWSGlueSchema_disappears
=== RUN TestAccAWSGlueSchema_disappears_registry
=== PAUSE TestAccAWSGlueSchema_disappears_registry
=== CONT TestAccAWSGlueSchema_basic
=== CONT TestAccAWSGlueSchema_schemaDefUpdated
=== CONT TestAccAWSGlueSchema_disappears_registry
=== CONT TestAccAWSGlueSchema_disappears
=== CONT TestAccAWSGlueSchema_compatibility
=== CONT TestAccAWSGlueSchema_tags
=== CONT TestAccAWSGlueSchema_description
--- PASS: TestAccAWSGlueSchema_disappears_registry (22.34s)
--- PASS: TestAccAWSGlueSchema_disappears (25.32s)
--- PASS: TestAccAWSGlueSchema_basic (29.83s)
--- PASS: TestAccAWSGlueSchema_compatibility (42.63s)
--- PASS: TestAccAWSGlueSchema_description (46.39s)
--- PASS: TestAccAWSGlueSchema_schemaDefUpdated (46.46s)
--- PASS: TestAccAWSGlueSchema_tags (57.64s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 57.752s
Docs 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=TestAccAWSGlueSchema_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueSchema_ -timeout 120m
=== RUN TestAccAWSGlueSchema_basic
=== PAUSE TestAccAWSGlueSchema_basic
=== RUN TestAccAWSGlueSchema_description
=== PAUSE TestAccAWSGlueSchema_description
=== RUN TestAccAWSGlueSchema_compatibility
=== PAUSE TestAccAWSGlueSchema_compatibility
=== RUN TestAccAWSGlueSchema_tags
=== PAUSE TestAccAWSGlueSchema_tags
=== RUN TestAccAWSGlueSchema_schemaDefUpdated
=== PAUSE TestAccAWSGlueSchema_schemaDefUpdated
=== RUN TestAccAWSGlueSchema_disappears
=== PAUSE TestAccAWSGlueSchema_disappears
=== RUN TestAccAWSGlueSchema_disappears_registry
=== PAUSE TestAccAWSGlueSchema_disappears_registry
=== CONT TestAccAWSGlueSchema_basic
=== CONT TestAccAWSGlueSchema_schemaDefUpdated
=== CONT TestAccAWSGlueSchema_disappears
=== CONT TestAccAWSGlueSchema_compatibility
=== CONT TestAccAWSGlueSchema_disappears_registry
=== CONT TestAccAWSGlueSchema_tags
=== CONT TestAccAWSGlueSchema_description
--- PASS: TestAccAWSGlueSchema_disappears_registry (13.84s)
2020/12/08 10:09:19 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
--- PASS: TestAccAWSGlueSchema_disappears (16.33s)
--- PASS: TestAccAWSGlueSchema_basic (20.30s)
--- PASS: TestAccAWSGlueSchema_compatibility (31.62s)
--- PASS: TestAccAWSGlueSchema_description (31.63s)
--- PASS: TestAccAWSGlueSchema_schemaDefUpdated (34.42s)
--- PASS: TestAccAWSGlueSchema_tags (42.69s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 44.370s Verified Acceptance Tests in GovCloud (us-gov-west-1) Skipping as Registry/Schema are not available in GovCloud make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSGlueSchema_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueSchema_ -timeout 120m
=== RUN TestAccAWSGlueSchema_basic
=== PAUSE TestAccAWSGlueSchema_basic
=== RUN TestAccAWSGlueSchema_description
=== PAUSE TestAccAWSGlueSchema_description
=== RUN TestAccAWSGlueSchema_compatibility
=== PAUSE TestAccAWSGlueSchema_compatibility
=== RUN TestAccAWSGlueSchema_tags
=== PAUSE TestAccAWSGlueSchema_tags
=== RUN TestAccAWSGlueSchema_schemaDefUpdated
=== PAUSE TestAccAWSGlueSchema_schemaDefUpdated
=== RUN TestAccAWSGlueSchema_disappears
=== PAUSE TestAccAWSGlueSchema_disappears
=== RUN TestAccAWSGlueSchema_disappears_registry
=== PAUSE TestAccAWSGlueSchema_disappears_registry
=== CONT TestAccAWSGlueSchema_basic
=== CONT TestAccAWSGlueSchema_schemaDefUpdated
=== CONT TestAccAWSGlueSchema_compatibility
=== CONT TestAccAWSGlueSchema_disappears_registry
=== CONT TestAccAWSGlueSchema_description
=== CONT TestAccAWSGlueSchema_disappears
=== CONT TestAccAWSGlueSchema_tags
resource_aws_glue_schema_test.go:295: skipping acceptance testing: AccessDeniedException: Operation not allowed
--- SKIP: TestAccAWSGlueSchema_tags (1.16s)
=== CONT TestAccAWSGlueSchema_schemaDefUpdated
resource_aws_glue_schema_test.go:295: skipping acceptance testing: AccessDeniedException: Operation not allowed
--- SKIP: TestAccAWSGlueSchema_schemaDefUpdated (1.16s)
=== CONT TestAccAWSGlueSchema_description
resource_aws_glue_schema_test.go:295: skipping acceptance testing: AccessDeniedException: Operation not allowed
--- SKIP: TestAccAWSGlueSchema_description (1.17s)
=== CONT TestAccAWSGlueSchema_basic
resource_aws_glue_schema_test.go:295: skipping acceptance testing: AccessDeniedException: Operation not allowed
--- SKIP: TestAccAWSGlueSchema_basic (1.18s)
=== CONT TestAccAWSGlueSchema_disappears_registry
resource_aws_glue_schema_test.go:295: skipping acceptance testing: AccessDeniedException: Operation not allowed
--- SKIP: TestAccAWSGlueSchema_disappears_registry (1.19s)
=== CONT TestAccAWSGlueSchema_compatibility
resource_aws_glue_schema_test.go:295: skipping acceptance testing: AccessDeniedException: Operation not allowed
--- SKIP: TestAccAWSGlueSchema_compatibility (1.19s)
=== CONT TestAccAWSGlueSchema_disappears
resource_aws_glue_schema_test.go:295: skipping acceptance testing: AccessDeniedException: Operation not allowed
--- SKIP: TestAccAWSGlueSchema_disappears (1.19s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 2.833s |
This has been released in version 3.21.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 #16342
Release note for CHANGELOG:
Output from acceptance testing: