Skip to content

Commit

Permalink
Fix validation record
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricios committed May 23, 2018
1 parent d2d3e5b commit 8cefc8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ resource "aws_acm_certificate_validation" "this" {
provider = "aws"
count = "${length(var.zone_ids)}"
certificate_arn = "${aws_acm_certificate.this.arn}"
validation_record_fqdns = ["${aws_route53_record.this.*.fqdn}"]
validation_record_fqdns = ["${element(aws_route53_record.this.*.fqdn, count.index)}"]
}

0 comments on commit 8cefc8b

Please sign in to comment.