-
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/appsync_domain_name + association resources #22487
Conversation
1096768
to
94d3afe
Compare
56a0d36
to
4c474be
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 🚀.
Unable to verify due to not having a suitable certificate.
% AWS_APPSYNC_DOMAIN_NAME_CERTIFICATE_DOMAIN=example.com make testacc TESTS=TestAccAppSync_serial/DomainName PKG=appsync
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/appsync/... -v -count 1 -parallel 20 -run='TestAccAppSync_serial/DomainName' -timeout 180m
=== RUN TestAccAppSync_serial
=== RUN TestAccAppSync_serial/DomainName
=== RUN TestAccAppSync_serial/DomainName/description
domain_name_test.go:59: Step 1/3 error: Error running pre-apply refresh: exit status 1
Error: No certificate for domain "*.example.com" found in this region
with data.aws_acm_certificate.test,
on terraform_plugin_test.tf line 6, in data "aws_acm_certificate" "test":
6: data "aws_acm_certificate" "test" {
=== RUN TestAccAppSync_serial/DomainName/basic
domain_name_test.go:28: Step 1/2 error: Error running pre-apply refresh: exit status 1
Error: No certificate for domain "*.example.com" found in this region
with data.aws_acm_certificate.test,
on terraform_plugin_test.tf line 6, in data "aws_acm_certificate" "test":
6: data "aws_acm_certificate" "test" {
=== RUN TestAccAppSync_serial/DomainName/disappears
domain_name_test.go:96: Step 1/1 error: Error running pre-apply refresh: exit status 1
Error: No certificate for domain "*.example.com" found in this region
with data.aws_acm_certificate.test,
on terraform_plugin_test.tf line 6, in data "aws_acm_certificate" "test":
6: data "aws_acm_certificate" "test" {
=== RUN TestAccAppSync_serial/DomainNameAssociation
=== RUN TestAccAppSync_serial/DomainNameAssociation/basic
domain_name_api_association_test.go:27: Step 1/3 error: Error running pre-apply refresh: exit status 1
Error: No certificate for domain "*.example.com" found in this region
with data.aws_acm_certificate.test,
on terraform_plugin_test.tf line 6, in data "aws_acm_certificate" "test":
6: data "aws_acm_certificate" "test" {
=== RUN TestAccAppSync_serial/DomainNameAssociation/disappears
domain_name_api_association_test.go:66: Step 1/1 error: Error running pre-apply refresh: exit status 1
Error: No certificate for domain "*.example.com" found in this region
with data.aws_acm_certificate.test,
on terraform_plugin_test.tf line 6, in data "aws_acm_certificate" "test":
6: data "aws_acm_certificate" "test" {
--- FAIL: TestAccAppSync_serial (9.57s)
--- FAIL: TestAccAppSync_serial/DomainName (6.24s)
--- FAIL: TestAccAppSync_serial/DomainName/description (2.78s)
--- FAIL: TestAccAppSync_serial/DomainName/basic (1.74s)
--- FAIL: TestAccAppSync_serial/DomainName/disappears (1.71s)
--- FAIL: TestAccAppSync_serial/DomainNameAssociation (3.33s)
--- FAIL: TestAccAppSync_serial/DomainNameAssociation/basic (1.65s)
--- FAIL: TestAccAppSync_serial/DomainNameAssociation/disappears (1.69s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/appsync 12.958s
FAIL
make: *** [testacc] Error 1
% AWS_APPSYNC_DOMAIN_NAME_CERTIFICATE_DOMAIN=example.com make testacc TESTS=TestAccAppSync_serial/Association PKG=appsync
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/appsync/... -v -count 1 -parallel 20 -run='TestAccAppSync_serial/Association' -timeout 180m
=== RUN TestAccAppSync_serial
=== RUN TestAccAppSync_serial/DomainNameAssociation
=== RUN TestAccAppSync_serial/DomainNameAssociation/basic
domain_name_api_association_test.go:27: Step 1/3 error: Error running pre-apply refresh: exit status 1
Error: No certificate for domain "*.example.com" found in this region
with data.aws_acm_certificate.test,
on terraform_plugin_test.tf line 6, in data "aws_acm_certificate" "test":
6: data "aws_acm_certificate" "test" {
=== RUN TestAccAppSync_serial/DomainNameAssociation/disappears
domain_name_api_association_test.go:66: Step 1/1 error: Error running pre-apply refresh: exit status 1
Error: No certificate for domain "*.example.com" found in this region
with data.aws_acm_certificate.test,
on terraform_plugin_test.tf line 6, in data "aws_acm_certificate" "test":
6: data "aws_acm_certificate" "test" {
--- FAIL: TestAccAppSync_serial (4.08s)
--- FAIL: TestAccAppSync_serial/DomainNameAssociation (4.08s)
--- FAIL: TestAccAppSync_serial/DomainNameAssociation/basic (2.44s)
--- FAIL: TestAccAppSync_serial/DomainNameAssociation/disappears (1.64s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/appsync 7.463s
FAIL
make: *** [testacc] Error 1
@DrFaust92 - Thanks for this! Please help clarify the parameters and exports. In the example below, for I suggest adopting the phrases that describe similar exported values from aws_api_gateway_domain_name or aws_apigatewayv2_domain_name, something like
I would submit a PR with these documentation changes, but I'm not entirely confident I got them right based on my reading of the existing descriptions.
|
This functionality has been released in v3.73.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 #22088
Output from acceptance testing: