You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.
Error: Invalid index
│
│ on .terraform/modules/teleport-cluster-terraform/acm.tf line 22, in resource "aws_route53_record" "cert_validation":
│ 22: for dvo in aws_acm_certificate.cert[0].domain_validation_options : dvo.domain_name => {
│ ├────────────────
│ │ aws_acm_certificate.cert is empty tuple
│
│ The given key does not identify an element in this collection value: the collection has no elements.
This shouldn't happen when use_acm is false.
The text was updated successfully, but these errors were encountered:
* Only do ACM cert validation if ACM is actually in use
This was an oversight introduced in #5Fixes#7
* Usage of aws_route53_record.cert_validation needs to become aws_route53_record.cert_validation[0]
Co-authored-by: Philippe M. Chiasson <gozer@goteleport.com>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This shouldn't happen when
use_acm
is false.The text was updated successfully, but these errors were encountered: