-
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
Add support for Eventbridge Schema Registry, Discoverer and Schema resources #19100
Add support for Eventbridge Schema Registry, Discoverer and Schema resources #19100
Conversation
@YakDriver I've also opened this one with some more eventbridge related resources :) |
Hey @YakDriver, @ewbankkit @bflad would you mind reviewing this please 🙏 Would be great to get the builds approved to see if I need to make other changes 😃 |
Hey @sthulb , @heitorlessa mentioned you would be the person to speak to about this, would you be able to review the PR and let me know your thoughts please 🙏 |
@jordanfinners at a quick glance, this looks fine. I'll finish my initial review today. |
@ewbankkit would it be possible to have your review of this PR too for merging please 🙏 |
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 🚀.
Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSSchemasSchema_\|TestAccAWSSchemasRegistry_\|TestAccAWSSchemasDiscoverer_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSchemasSchema_\|TestAccAWSSchemasRegistry_\|TestAccAWSSchemasDiscoverer_ -timeout 180m
=== RUN TestAccAWSSchemasDiscoverer_basic
=== PAUSE TestAccAWSSchemasDiscoverer_basic
=== RUN TestAccAWSSchemasDiscoverer_disappears
=== PAUSE TestAccAWSSchemasDiscoverer_disappears
=== RUN TestAccAWSSchemasDiscoverer_Description
=== PAUSE TestAccAWSSchemasDiscoverer_Description
=== RUN TestAccAWSSchemasDiscoverer_Tags
=== PAUSE TestAccAWSSchemasDiscoverer_Tags
=== RUN TestAccAWSSchemasRegistry_basic
=== PAUSE TestAccAWSSchemasRegistry_basic
=== RUN TestAccAWSSchemasRegistry_disappears
=== PAUSE TestAccAWSSchemasRegistry_disappears
=== RUN TestAccAWSSchemasRegistry_Description
=== PAUSE TestAccAWSSchemasRegistry_Description
=== RUN TestAccAWSSchemasRegistry_Tags
=== PAUSE TestAccAWSSchemasRegistry_Tags
=== RUN TestAccAWSSchemasSchema_basic
=== PAUSE TestAccAWSSchemasSchema_basic
=== RUN TestAccAWSSchemasSchema_disappears
=== PAUSE TestAccAWSSchemasSchema_disappears
=== RUN TestAccAWSSchemasSchema_ContentDescription
=== PAUSE TestAccAWSSchemasSchema_ContentDescription
=== RUN TestAccAWSSchemasSchema_Tags
=== PAUSE TestAccAWSSchemasSchema_Tags
=== CONT TestAccAWSSchemasDiscoverer_basic
=== CONT TestAccAWSSchemasRegistry_Tags
=== CONT TestAccAWSSchemasSchema_Tags
=== CONT TestAccAWSSchemasSchema_ContentDescription
=== CONT TestAccAWSSchemasSchema_disappears
=== CONT TestAccAWSSchemasRegistry_basic
=== CONT TestAccAWSSchemasSchema_basic
=== CONT TestAccAWSSchemasRegistry_disappears
=== CONT TestAccAWSSchemasRegistry_Description
=== CONT TestAccAWSSchemasDiscoverer_Description
=== CONT TestAccAWSSchemasDiscoverer_Tags
=== CONT TestAccAWSSchemasDiscoverer_disappears
--- PASS: TestAccAWSSchemasRegistry_disappears (14.95s)
--- PASS: TestAccAWSSchemasRegistry_basic (21.08s)
--- PASS: TestAccAWSSchemasDiscoverer_disappears (21.43s)
--- PASS: TestAccAWSSchemasSchema_disappears (21.47s)
--- PASS: TestAccAWSSchemasDiscoverer_basic (24.94s)
--- PASS: TestAccAWSSchemasSchema_basic (25.01s)
--- PASS: TestAccAWSSchemasRegistry_Description (43.05s)
--- PASS: TestAccAWSSchemasRegistry_Tags (43.05s)
--- PASS: TestAccAWSSchemasSchema_Tags (47.14s)
--- PASS: TestAccAWSSchemasDiscoverer_Description (49.91s)
--- PASS: TestAccAWSSchemasDiscoverer_Tags (50.05s)
--- PASS: TestAccAWSSchemasSchema_ContentDescription (50.14s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 53.189s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSSchemasSchema_\|TestAccAWSSchemasRegistry_\|TestAccAWSSchemasDiscoverer_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSchemasSchema_\|TestAccAWSSchemasRegistry_\|TestAccAWSSchemasDiscoverer_ -timeout 180m
=== RUN TestAccAWSSchemasDiscoverer_basic
=== PAUSE TestAccAWSSchemasDiscoverer_basic
=== RUN TestAccAWSSchemasDiscoverer_disappears
=== PAUSE TestAccAWSSchemasDiscoverer_disappears
=== RUN TestAccAWSSchemasDiscoverer_Description
=== PAUSE TestAccAWSSchemasDiscoverer_Description
=== RUN TestAccAWSSchemasDiscoverer_Tags
=== PAUSE TestAccAWSSchemasDiscoverer_Tags
=== RUN TestAccAWSSchemasRegistry_basic
=== PAUSE TestAccAWSSchemasRegistry_basic
=== RUN TestAccAWSSchemasRegistry_disappears
=== PAUSE TestAccAWSSchemasRegistry_disappears
=== RUN TestAccAWSSchemasRegistry_Description
=== PAUSE TestAccAWSSchemasRegistry_Description
=== RUN TestAccAWSSchemasRegistry_Tags
=== PAUSE TestAccAWSSchemasRegistry_Tags
=== RUN TestAccAWSSchemasSchema_basic
=== PAUSE TestAccAWSSchemasSchema_basic
=== RUN TestAccAWSSchemasSchema_disappears
=== PAUSE TestAccAWSSchemasSchema_disappears
=== RUN TestAccAWSSchemasSchema_ContentDescription
=== PAUSE TestAccAWSSchemasSchema_ContentDescription
=== RUN TestAccAWSSchemasSchema_Tags
=== PAUSE TestAccAWSSchemasSchema_Tags
=== CONT TestAccAWSSchemasDiscoverer_basic
=== CONT TestAccAWSSchemasRegistry_Tags
=== CONT TestAccAWSSchemasSchema_Tags
=== CONT TestAccAWSSchemasRegistry_basic
=== CONT TestAccAWSSchemasSchema_basic
=== CONT TestAccAWSSchemasDiscoverer_Description
=== CONT TestAccAWSSchemasSchema_ContentDescription
=== CONT TestAccAWSSchemasDiscoverer_Tags
=== CONT TestAccAWSSchemasDiscoverer_disappears
=== CONT TestAccAWSSchemasSchema_disappears
=== CONT TestAccAWSSchemasRegistry_Description
=== CONT TestAccAWSSchemasRegistry_disappears
=== CONT TestAccAWSSchemasDiscoverer_basic
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
--- SKIP: TestAccAWSSchemasDiscoverer_basic (1.52s)
=== CONT TestAccAWSSchemasRegistry_Tags
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
--- SKIP: TestAccAWSSchemasRegistry_Tags (1.52s)
=== CONT TestAccAWSSchemasSchema_Tags
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
--- SKIP: TestAccAWSSchemasSchema_Tags (1.52s)
=== CONT TestAccAWSSchemasDiscoverer_Tags
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
--- SKIP: TestAccAWSSchemasDiscoverer_Tags (1.52s)
=== CONT TestAccAWSSchemasDiscoverer_disappears
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
--- SKIP: TestAccAWSSchemasDiscoverer_disappears (1.52s)
=== CONT TestAccAWSSchemasSchema_basic
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
--- SKIP: TestAccAWSSchemasSchema_basic (1.52s)
=== CONT TestAccAWSSchemasRegistry_basic
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
=== CONT TestAccAWSSchemasSchema_ContentDescription
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
=== CONT TestAccAWSSchemasRegistry_Description
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
--- SKIP: TestAccAWSSchemasRegistry_basic (1.52s)
=== CONT TestAccAWSSchemasRegistry_disappears
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
--- SKIP: TestAccAWSSchemasSchema_ContentDescription (1.52s)
--- SKIP: TestAccAWSSchemasRegistry_Description (1.52s)
=== CONT TestAccAWSSchemasDiscoverer_Description
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
--- SKIP: TestAccAWSSchemasRegistry_disappears (1.52s)
--- SKIP: TestAccAWSSchemasDiscoverer_Description (1.52s)
=== CONT TestAccAWSSchemasSchema_disappears
provider_test.go:734: skipping tests; partition aws-us-gov does not support schemas service
--- SKIP: TestAccAWSSchemasSchema_disappears (1.52s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 4.543s
@jordanfinners Thanks for the contribution 🎉 👏.
|
Acceptance test output: % make testacc TEST=./aws TESTARGS='-run=TestAccAWSSchemasDiscoverer_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSchemasDiscoverer_ -timeout 180m === RUN TestAccAWSSchemasDiscoverer_basic === PAUSE TestAccAWSSchemasDiscoverer_basic === RUN TestAccAWSSchemasDiscoverer_disappears === PAUSE TestAccAWSSchemasDiscoverer_disappears === RUN TestAccAWSSchemasDiscoverer_Description === PAUSE TestAccAWSSchemasDiscoverer_Description === RUN TestAccAWSSchemasDiscoverer_Tags === PAUSE TestAccAWSSchemasDiscoverer_Tags === CONT TestAccAWSSchemasDiscoverer_basic === CONT TestAccAWSSchemasDiscoverer_Tags === CONT TestAccAWSSchemasDiscoverer_Description === CONT TestAccAWSSchemasDiscoverer_disappears --- PASS: TestAccAWSSchemasDiscoverer_disappears (14.58s) --- PASS: TestAccAWSSchemasDiscoverer_basic (17.70s) --- PASS: TestAccAWSSchemasDiscoverer_Tags (40.38s) --- PASS: TestAccAWSSchemasDiscoverer_Description (40.46s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 43.537s
Acceptance test output: % make testacc TEST=./aws TESTARGS='-run=TestAccAWSSchemasRegistry_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSchemasRegistry_ -timeout 180m === RUN TestAccAWSSchemasRegistry_basic === PAUSE TestAccAWSSchemasRegistry_basic === RUN TestAccAWSSchemasRegistry_disappears === PAUSE TestAccAWSSchemasRegistry_disappears === RUN TestAccAWSSchemasRegistry_Description === PAUSE TestAccAWSSchemasRegistry_Description === RUN TestAccAWSSchemasRegistry_Tags === PAUSE TestAccAWSSchemasRegistry_Tags === CONT TestAccAWSSchemasRegistry_basic === CONT TestAccAWSSchemasRegistry_Tags === CONT TestAccAWSSchemasRegistry_Description === CONT TestAccAWSSchemasRegistry_disappears --- PASS: TestAccAWSSchemasRegistry_disappears (10.49s) --- PASS: TestAccAWSSchemasRegistry_basic (16.15s) --- PASS: TestAccAWSSchemasRegistry_Description (36.82s) --- PASS: TestAccAWSSchemasRegistry_Tags (37.17s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 40.482s
Acceptance test output: % make testacc TEST=./aws TESTARGS='-run=TestAccAWSSchemasSchema_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSchemasSchema_ -timeout 180m === RUN TestAccAWSSchemasSchema_basic === PAUSE TestAccAWSSchemasSchema_basic === RUN TestAccAWSSchemasSchema_disappears === PAUSE TestAccAWSSchemasSchema_disappears === RUN TestAccAWSSchemasSchema_ContentDescription === PAUSE TestAccAWSSchemasSchema_ContentDescription === RUN TestAccAWSSchemasSchema_Tags === PAUSE TestAccAWSSchemasSchema_Tags === CONT TestAccAWSSchemasSchema_basic === CONT TestAccAWSSchemasSchema_Tags === CONT TestAccAWSSchemasSchema_disappears === CONT TestAccAWSSchemasSchema_ContentDescription --- PASS: TestAccAWSSchemasSchema_disappears (13.71s) --- PASS: TestAccAWSSchemasSchema_basic (17.04s) --- PASS: TestAccAWSSchemasSchema_Tags (39.01s) --- PASS: TestAccAWSSchemasSchema_ContentDescription (39.47s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 42.503s
Thank you for sorting those bits! 😊 |
This has been released in version 3.43.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 pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #11088
Output from acceptance testing: