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

aws_acm_certificate - domain_validation_options is empty for new certificates #9627

Closed
giridharmp opened this issue Aug 5, 2019 · 3 comments
Labels
service/acm Issues and PRs that pertain to the acm service. service/route53 Issues and PRs that pertain to the route53 service.

Comments

@giridharmp
Copy link

Tried creating a new certificate using the code below:

provider "aws" {
version = ">= 1.57.0"
region = "ap-southeast-2"
access_key = ""
secret_key = ""
}

data "aws_route53_zone" "cluster_hosted_zone" {
name = "example.com"
}

resource "aws_acm_certificate" "alb_certificate" {
domain_name = "example.com"
subject_alternative_names = [
"api.example.com"
]
validation_method = "DNS"
}

output "created_cert" {
value = "${aws_acm_certificate.alb_certificate.domain_validation_options}"
}

For the newly issued certificate, domain_validation_options attribute is not populated and is returning as empty.

@ghost ghost added service/acm Issues and PRs that pertain to the acm service. service/route53 Issues and PRs that pertain to the route53 service. labels Aug 5, 2019
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Aug 5, 2019
@zygimantas
Copy link

Duplicate of #9596

@bflad
Copy link
Contributor

bflad commented Aug 5, 2019

Hi @giridharmp 👋 Thank you for reporting this and sorry you are having trouble. This does appear to be a duplicate of #9596, so to consolidate discussion and efforts I'm going to close this issue in preference of the previous issue. Please follow #9596 for further updates, thanks.

@bflad bflad closed this as completed Aug 5, 2019
@ghost
Copy link

ghost commented Nov 2, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 2, 2019
@breathingdust breathingdust removed the needs-triage Waiting for first response or review from a maintainer. label Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/acm Issues and PRs that pertain to the acm service. service/route53 Issues and PRs that pertain to the route53 service.
Projects
None yet
Development

No branches or pull requests

4 participants