-
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
Iot domain name configuration #24765
Iot domain name configuration #24765
Conversation
347aef7
to
249c802
Compare
35782a8
to
7c925be
Compare
3120aae
to
13690c7
Compare
… CRUD handler signatures (hashicorp#15090).
…h a single newline character'.
…on must be disabled for at least 7 days before it can be deleted' errors in sweeper.
% ACM_CERTIFICATE_ROOT_DOMAIN=terraform-provider-aws-acctest-acm.com make testacc TESTARGS='-run=TestAccIoTDomainConfiguration_basic' PKG=iot ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/iot/... -v -count 1 -parallel 20 -run=TestAccIoTDomainConfiguration_basic -timeout 360m === RUN TestAccIoTDomainConfiguration_basic --- PASS: TestAccIoTDomainConfiguration_basic (108.42s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/iot 113.441s
…k lines [Expected: 1; Actual: 2]'.
e8fc6d3
to
c8eb41f
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 🚀.
% ACM_CERTIFICATE_ROOT_DOMAIN=terraform-provider-aws-acctest-acm.com make testacc TESTARGS='-run=TestAccIoTDomainConfiguration_' PKG=iot ACCTEST_PARALLELISM=1
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/iot/... -v -count 1 -parallel 1 -run=TestAccIoTDomainConfiguration_ -timeout 360m
=== RUN TestAccIoTDomainConfiguration_basic
--- PASS: TestAccIoTDomainConfiguration_basic (108.34s)
=== RUN TestAccIoTDomainConfiguration_disappears
--- PASS: TestAccIoTDomainConfiguration_disappears (133.20s)
=== RUN TestAccIoTDomainConfiguration_tags
--- PASS: TestAccIoTDomainConfiguration_tags (175.62s)
=== RUN TestAccIoTDomainConfiguration_update
--- PASS: TestAccIoTDomainConfiguration_update (152.94s)
=== RUN TestAccIoTDomainConfiguration_awsManaged
acctest.go:2450: Environment variable IOT_DOMAIN_CONFIGURATION_TEST_AWS_MANAGED is not set, skipping test
--- SKIP: TestAccIoTDomainConfiguration_awsManaged (0.00s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/iot 466.800s
@jalavoy Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.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
Closes #22654
Output from acceptance testing:
Using an example domain name I can't get the acceptance test to pass, but it's because of AWS returning the following error, which seems specific to them:
However, after building the provider and using it from my production terraform repo, it appears to work fine. Not sure the best way to handle this, as I'm not sure exactly what AWS is testing the domain against.
Output from my terraform:
If y'all have any input on how I can improve my test I'm open to it. I'm still new at working on this code. If it's acceptable to remove the test since it works outside of testing I'm fine with that too.
I'm also not positive I did the tagging stuff right. Super open to input on that.