File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
operations/deployment/terraform/aws Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -812,15 +812,14 @@ locals {
812812 ) :
813813 false
814814 )
815- protocol = var. aws_r53_enable_cert ? try (module. aws_certificates [0 ]. selected_arn , var . aws_r53_cert_arn , " " ) != " " ? " https://" : " http://" : " http://"
815+ protocol = var. aws_r53_enable_cert ? var . aws_r53_cert_arn != " " ? " https:// " : try (module. aws_certificates [0 ]. selected_arn , " " ) != " " ? " https://" : " http://" : " http://"
816816 create_efs = var. aws_efs_create == true ? true : (var. aws_efs_create_ha == true ? true : false )
817817 ec2_public_endpoint = var. aws_ec2_instance_create ? (module. ec2 [0 ]. instance_public_dns != null ? module. ec2 [0 ]. instance_public_dns : module. ec2 [0 ]. instance_public_ip ) : null
818818 ec2_private_endpoint = var. aws_ec2_instance_create ? (module. ec2 [0 ]. instance_private_dns != null ? module. ec2 [0 ]. instance_private_dns : module. ec2 [0 ]. instance_private_ip ) : null
819819 ec2_endpoint = var. aws_ec2_instance_create ? (local. ec2_public_endpoint != null ? " ${ local . protocol } ${ local . ec2_public_endpoint } " : " ${ local . protocol } ${ local . ec2_private_endpoint } " ) : null
820820 elb_url = try (module. aws_elb [0 ]. aws_elb_dns_name , null ) != null ? " ${ local . protocol } ${ module . aws_elb [0 ]. aws_elb_dns_name } " : null
821821 alb_url = try (module. aws_lb [0 ]. aws_alb_dns_name , null ) != null ? " ${ local . protocol } ${ module . aws_lb [0 ]. aws_alb_dns_name } " : null
822822}
823-
824823# VPC
825824output "aws_vpc_id" {
826825 value = module. vpc . aws_selected_vpc_id
You can’t perform that action at this time.
0 commit comments