Skip to content
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

Resource awscc_route53_record_set not supported #2129

Open
sanjeevgopal opened this issue Dec 13, 2024 · 1 comment
Open

Resource awscc_route53_record_set not supported #2129

sanjeevgopal opened this issue Dec 13, 2024 · 1 comment
Assignees

Comments

@sanjeevgopal
Copy link

Community Note

  • 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

Terraform v1.10.2
on darwin_amd64
+ provider registry.terraform.io/hashicorp/aws v5.81.0
+ provider registry.terraform.io/hashicorp/awscc v1.23.0

Affected Resource(s)

  • awscc_route53_record_set

Terraform Configuration Files

resource "awscc_route53_record_set" "example" {
  hosted_zone_id   = data.aws_route53_zone.example.zone_id
  name             = "example.com"
  type             = "HTTPS"
  resource_records = ["1 . alpn=\"h2,h3\""]
  ttl              = 300
}

Error

│ Error: AWS SDK Go Service Operation Unsuccessful
│
│   with awscc_route53_record_set.example,
│   on main.tf line 424, in resource "awscc_route53_record_set" "example":
│  424: resource "awscc_route53_record_set" "example" {
│
│ Calling Cloud Control API service CreateResource operation returned: operation error CloudControl: CreateResource, https response error StatusCode: 400, RequestID: 0af823a9-eac6-4f88-9199-6e60f4210df9, UnsupportedActionException: The
│ resource AWS::Route53::RecordSet is not yet supported via Cloud Control API

Expected Behavior

Resource should have been created. Per the documentation it is supported, right?

@quixoticmonk
Copy link
Collaborator

quixoticmonk commented Dec 13, 2024

Thank you for opening the issue @sanjeevgopal . Looking at the current CloudControl API support, it looks like the resource has been marked as non provisionable. Opened an internal service ticket to review the change in provisioning type.

aws cloudformation describe-type --type RESOURCE --type-name AWS::Route53::RecordSet --region us-east-1 | jq '.ProvisioningType'
"NON_PROVISIONABLE"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants