Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the CloudFormation Open Coverage Roadmap.
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
awscc_apigateway_domain_name
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
╷
│ Error: AWS SDK Go Service Operation Incomplete
│
│ with awscc_apigateway_domain_name.example,
│ on main.tf line 24, in resource "awscc_apigateway_domain_name" "example":
│ 24: resource "awscc_apigateway_domain_name" "example" {
│
│ Waiting for Cloud Control API service CreateResource operation completion returned: waiter state transitioned to FAILED.
│ StatusMessage: Error occurred during operation '1 validation error detected: Value null at 'createDomainNameInput.domainName'
│ failed to satisfy constraint: Member must not be null (Service: ApiGateway, Status Code: 400, Request ID:
│ 853cb2db-6f96-44e1-9f2b-d59d5e99969f)'.. ErrorCode: GeneralServiceException
╵
Steps to Reproduce
terraform apply
Important Factoids
Works when you provide a domain_name and certificate_arn
CloudFormation schema has the DomanName attribute marked as optional. The CloudFormation schema should be updated to require the domain name attribute.
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
Works when you provide a
domain_name
andcertificate_arn
CloudFormation schema has the
DomanName
attribute marked asoptional
. The CloudFormation schema should be updated to require the domain name attribute.https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-endpointconfiguration
References