File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ data "aws_route53_zone" "hasura" {
30
30
31
31
resource "aws_route53_record" "hasura_validation" {
32
32
depends_on = [aws_acm_certificate . hasura ]
33
- name = aws_acm_certificate. hasura . domain_validation_options [ 0 ] [" resource_record_name" ]
34
- type = aws_acm_certificate. hasura . domain_validation_options [ 0 ] [" resource_record_type" ]
35
- zone_id = data. aws_route53_zone . hasura . zone_id
36
- records = [aws_acm_certificate . hasura . domain_validation_options [ 0 ] [" resource_record_value" ]]
37
- ttl = 300
33
+ name = element ( tolist ( aws_acm_certificate. hasura . domain_validation_options ), 0 ) [" resource_record_name" ]
34
+ type = element ( tolist ( aws_acm_certificate. hasura . domain_validation_options ), 0 ) [" resource_record_type" ]
35
+ zone_id = data. aws_route53_zone . hasura . zone_id
36
+ records = [element ( tolist ( aws_acm_certificate. hasura . domain_validation_options ), 0 ) [" resource_record_value" ]]
37
+ ttl = 300
38
38
}
39
39
40
40
resource "aws_acm_certificate_validation" "hasura" {
You can’t perform that action at this time.
0 commit comments