Open tcldr opened 2 years ago
@tcldr it doesn't look like this is currently possible since there is no CloudFormation support for creating a custom domain.
This is dependent on https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/1092
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
it would be really great to see this feature. Without it, redeploying the stack would rename the endpoint. that doesn't; seem practical if it's public.
It is supposed to support the alias record for apprunner service target, otherwise manual or post job work is required for it.
Describe the feature
Allow a custom domain to be specified using a Route53 Zone. Or, alternatively, decouple the process of creating https certificates from App Runner and lean on the existing AWS Certificate Manager validation methods.
Use Case
Currently, it doesn't seem possible/documented to be able to associate a custom domain with an App Runner instance via the CDK at all.
There is a method offered via the API/Console, but it seems relatively manual and doesn't include any automation.
It would be preferable to set-up custom domains using a method consistent with that used by other CDK packages – such as CloudFront – which make this process especially simple.
Proposed Solution
Decouple the process of creating https certificates from App Runner, support ALIAS records, and lean on the existing AWS Certificate Manager validation methods.
An ideal API inspired by CloudFront might look like:
Other Information
No response
Acknowledgements
CDK version used
2.19.0
Environment details (OS name and version, etc.)
agnostic