hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.61k stars 9k forks source link

[New Resource]: Missing resource CrossAccountZoneDelegationRecord #31040

Open hartimcwildfly opened 1 year ago

hartimcwildfly commented 1 year ago

Description

In AWS CDK there is a resource CrossAccountZoneDelegationRecord but in Terraform AWS Provider there is no equivalent to this.

Requested Resource(s) and/or Data Source(s)

aws_route53_zone_delegation_record

Potential Terraform Configuration

resource "aws_route53_zone_delegation_record" "zone-delegation" {
  delegated_zone = "theZoneId"
  delegated_role = "theRoleArn"
}

References

https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53.CrossAccountZoneDelegationRecord.html

Would you like to implement a fix?

No

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

hartimcwildfly commented 1 year ago

I found out that this is not a real resource. This is just a construct for convenience in AWS CDK. So I don't know if this applies to the Terraform resource concept. But at least I would expect a note about this somewhere and how to implement this CrossAccountZoneDelegationRecord with traditional resources. In the meantime I found out how to do this. So if you'd like to add it as an example I can provide a minimal solution for this.