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

Allow defining a certificate #79

Closed
Spritekin opened this issue Nov 11, 2020 · 2 comments
Closed

Allow defining a certificate #79

Spritekin opened this issue Nov 11, 2020 · 2 comments

Comments

@Spritekin
Copy link

Spritekin commented Nov 11, 2020

Describe the Feature

Allow defining a certificate for the domain.

When I setup a name for the ES or Kibana services like this:

domain_hostname_enabled = true
elasticsearch_subdomain_name = "elasticsearch"
kibana_hostname_enabled = true
kibana_subdomain_name = "kibana"
dns_zone_id = aws_route53_zone.hosted_zone.zone_id

The records are correctly setup in Route53 and I can see kibana.my.domain.com pointing to the correct URL (the long ugly one). However when I try to navigate to the service using this pretty name I get an error message in the browser because it uses the AWS ugly certificate. I can't find a way to set my own certificate.

Expected Behavior

I would like to setup a certificate for my.domain.com from the ACM. Notice the AWS UI has an option exactly for that purpose.

Use Case

Should allow setting up the certificate for my alternate name.

Describe Ideal Solution

Pass the certificate ARN as a variables and it will be registered in the domain.

Alternatives Considered

Setting up an ELB... but the ES already has the functionality.

Additional Context

Screenshot shows the ES certificate which won't work with my kibana.my.domain.com name

Screen Shot 2020-11-11 at 8 02 05 pm

@christiangjengedal
Copy link

Requires hashicorp/terraform-provider-aws#16059 ?

@Gowiem
Copy link
Member

Gowiem commented Jul 7, 2021

@Spritekin @christiangjengedal we now have https://github.com/cloudposse/terraform-aws-elasticsearch#input_custom_endpoint_certificate_arn which I believe would satisfy this constraint. I'm going to close out. Please reopen if I'm mistaken.

@Gowiem Gowiem closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants