-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[ecs-patterns] DNS not in Route53 but being required when adding certificate=cert in ecs_patterns.ApplicationLoadBalancedFargateService #11123
Comments
If you want to use domain zone's you'll need Route53, I do however believe it is possible to import an external cert but that is gonna be complicated. iI our case we have several domains and manage the relevant ones in AWS. For example, darwin.so is our primary website but we use darwin.to and darwin.sh for API related stuff in AWS. |
Thanks @arpowers for your reply. We do this regularly with CloudFormation where we are creating an ACM cert that uses DNS validation of our domain ownership and reference that in the creation of our load balancer in the same CF template. I'm hoping that CDK has the same functionality, but I'm just not seeing it. |
I also got troubled by this recently. I don't want Here are examples of situations made impossible by this requirement:
I think this requirement is premature and it's not achieving something beneficial. |
might be related to #11165 |
Hey @Georev, At the moment an 😸 😷 |
Thanks @NGL321 I'm putting this on the back burner. It would be a nice feature, but I think I'll try out deploying all the resources individually next time. |
This is something I am trying to accomplish as well. We have DNS managed on our side and are using ACM to issue certificates against those. I can reference my certificate by arn. But since we are forced to use route 53 to add the hostHeader condition we cannot use this pattern at the moment. Would be great to be able to use these patterns with existing resources as well as the ability to generate them when needed. I feel like there are many use cases in which this would occur. |
I'm now getting back to this. Is there any progress or a well documented work around? Thanks for your efforts! |
+1 |
I ran into this and ended up creating a hosted zone in route53 for just the subdomain I wanted to use for the load balancer. I think created an NS record in the dns service where the root domain is managed pointing to the amazon nameservers listed in that zone. |
+1 on this. If a certificate is provided then a route53 domain should not be required. This check should be moved to the area of code where a certificate is being created if one is not provided. |
…se non Route 53 DNS if a certificate is provided
|
…se non Route 53 DNS if a certificate is provided (aws#14004) Currently this construct requires a Route53 domain even if a certificate is provided to it. A domain should only be required if a DNS validated certificate is being created or Route53 records sets are being created. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
❓ Adding Certificate when Creating ECS cluster with CDK with ecs_patterns.ApplicationLoadBalancedFargateService that is not on Route53
The Question
Hi,
I am trying to create and add an ACM cert when setting up an ECS cluster and ALB with CDK. It appears that when I add certificate=cert in the parameters for ecs_patterns.ApplicationLoadBalancedFargateService I am required to provide a Route53 domain zone, but our DNS is not in Route53. Can you help me out with this?
Here is what I have so far.
AWS Support response:
Environment
Thanks,
Robbie
The text was updated successfully, but these errors were encountered: