-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Comments
Duplicate of #9596 |
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. |
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! |
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.
The text was updated successfully, but these errors were encountered: