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

[Route53] cdk-route53 Cross account records. #15213

Open
2 tasks
mrpackethead opened this issue Jun 19, 2021 · 31 comments
Open
2 tasks

[Route53] cdk-route53 Cross account records. #15213

mrpackethead opened this issue Jun 19, 2021 · 31 comments
Labels
@aws-cdk/aws-route53 Related to Amazon Route 53 effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Comments

@mrpackethead
Copy link

Extend Cross Acount Records to be more than Just Zone Delegations. It would be great if out of the box, we could do any kind of record in a zone that was not in the account that the stack is in.

Use Case

many times, we want to be able to add records for external things... eg

customerportal.domain.com
www.domain.com

Proposed Solution

Other

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

@mrpackethead mrpackethead added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jun 19, 2021
@github-actions github-actions bot added the @aws-cdk/aws-route53 Related to Amazon Route 53 label Jun 19, 2021
@njlynch njlynch added effort/medium Medium work item – several days of effort p2 and removed needs-triage This issue or PR still needs to be triaged. labels Jun 23, 2021
@njlynch njlynch removed their assignment Jun 23, 2021
@njlynch
Copy link
Contributor

njlynch commented Jun 23, 2021

Thanks for the feature request!

Creating general-purpose cross-account constructs is typically a good bit more work than a specific use case. However, in this case, we're talking about effectively proxying Route53's ChangeResourceRecordSets API. That's plausible, certainly.

I am marking this issue as p2, which means that we are unable to work on this immediately.

We use +1s to help prioritize our work, and are happy to revaluate this issue based on community feedback. You can reach out to the cdk.dev community on Slack to solicit support for reprioritization.

@jnawk
Copy link

jnawk commented Jun 28, 2021

+1

@pcolmer
Copy link

pcolmer commented Jun 28, 2021

This also potentially affects ACM when using DNS validation. ACM can now create DNS validation records for you automatically - but that only works if the DNS zone is under the same account as ACM.

We're currently working on Custom Resources to creating cross-account Route53 records and, from that, extending ACM to work cross-account.

But it would be oh so much better if supported directly by AWS.

@jamiepeloquin
Copy link

+1

@jweilhammer
Copy link

+1 on this

Noting that cross account validation of ACM certifications works easily with a CNAME record

Was also able to get a cross account A record to an ALB using the IP address instead of the DNS name, but using the IP address is unreliable as it can change. Creating manually for now then

@IainCole
Copy link
Contributor

The DnsValidatedCertificate CustomResource is separate to whatever the cross account record resource would be. I've built a cross account record resource and my own version of DnsValidatedCertificate that accepts a role to assume when creating the DNS records, I'm happy to contribute this back if we think it's worth having.

@carolkelly25
Copy link

+1

We need to be able to create route 53 alias records cross account and a bit disappointed that having done everything else in cdk that we can't do this, and the it's documentation to find in the documentation that this isn't supported. Seems like a very standard setup that people have with regard to route 53 in a separate account so a very reasonable request to get wider aws-cdk adoption.

@scottbisker
Copy link

+1

@johnf
Copy link
Contributor

johnf commented Jan 3, 2023

I've created a construct library to help solve this issue. I'd love any feedback
https://github.com/johnf/cdk-cross-account-route53

@liamor
Copy link

liamor commented Jan 24, 2023

+1

1 similar comment
@mfittko
Copy link

mfittko commented Apr 19, 2023

+1

@fjelliott
Copy link

+1

Mainly interested in the ability to validate ACM certificates cross-account.

@brcourt
Copy link

brcourt commented Aug 31, 2023

+1

3 similar comments
@angeldima
Copy link

+1

@gperego-pirelli
Copy link

+1

@EdwardEdy
Copy link

+1

@KurtMar
Copy link

KurtMar commented Sep 27, 2023

@johnf I found that you had done excellent work to implement this for ACM DNS validation, but that the construct was deprecated and the merge request closed (#23526 (comment)). :(

Do you have any plans to recreate your work in the newer CertificateValidation construct?

This is a sorely missed feature when working with top level domains in a separate AWS account and I am assuming that there is no real workaround for this.

@dguisinger
Copy link

+1 Similarly, I would like to create NS records pointing to subdomains which are hosted in separate accounts automatically from CDK

@brcourt
Copy link

brcourt commented Oct 1, 2023

+1
Also would like to add cross-partition capabilities, specifically Govcloud, since Route53 records need to be deployed to the commercial partition when working in Govcloud. Being able to deploy records across partitions easily would certainly improve dev experience.

@github-actions github-actions bot added p1 and removed p2 labels Oct 22, 2023
@github-actions
Copy link

This issue has received a significant amount of attention so we are automatically upgrading its priority. A member of the community will see the re-prioritization and provide an update on the issue.

@KevinFaro
Copy link

+1

6 similar comments
@Finaktiva
Copy link

+1

@jsun1590
Copy link

+1

@jtobin321
Copy link

+1

@cwensel
Copy link

cwensel commented Feb 7, 2024

+1

@torgejensen
Copy link

+1

@meskander-ss
Copy link

+1

@pahud pahud added p2 and removed p1 labels Jun 11, 2024
@DanielBickler
Copy link

+1

1 similar comment
@schisne
Copy link

schisne commented Aug 9, 2024

+1

lukepafford pushed a commit to lukepafford/aws-cdk that referenced this issue Aug 23, 2024
\### Issue # (if applicable)

Closes aws#15213
Addresses aws#26754

\### Reason for this change

\### Description of changes

\### Description of how you validated changes

\### Checklist

- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

---

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@hcapitaine
Copy link

+1

@dhmw
Copy link

dhmw commented Mar 7, 2025

+1

I see this was very close to being implemented here and subsequently abandoned: #31281 ?

Any chance this can be reviewed and completed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-route53 Related to Amazon Route 53 effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

Successfully merging a pull request may close this issue.