-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Description
Prerequisites
- I am running the latest version
- I checked the documentation and found no answer
- I checked to make sure that this issue has not already been filed
Expected Behavior
locals {
ssl_certificate_arn = var.create_acm_certificate ? module.acm.acm_certificate_arn : data.aws_acm_certificate.main[0].arn
zone_id = var.create_r53_zone ? keys(module.r53_zone.route53_zone_zone_id)[0] : (var.zone_id != null ? var.zone_id : data.aws_route53_zone.main[0].zone_id)
}Current Behavior
We have two local variables:
locals {
ssl_certificate_arn = var.create_acm_certificate ? module.acm.this_acm_certificate_arn : data.aws_acm_certificate.main[0].arn
zone_id = var.create_r53_zone ? keys(module.r53_zone.this_route53_zone_zone_id)[0] : (var.zone_id != null ? var.zone_id : data.aws_route53_zone.main[0].zone_id)
}Both of them expect module outputs with this_ prefix. Right now this is incorrect.
Failure Information (for bugs)
Error can be reproduced by setting var.create_acm_certificate and|or var.create_r53_zone to true
Metadata
Metadata
Assignees
Labels
No labels