File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ locals {
165
165
automq_byoc_env_console_public_subnet_id = var. create_new_vpc ? element (module. automq_byoc_vpc [0 ]. public_subnets , 0 ) : var. automq_byoc_env_console_public_subnet_id
166
166
automq_data_bucket = var. automq_byoc_data_bucket_name == " " ? module. automq_byoc_data_bucket_name . s3_bucket_id : " ${ var . automq_byoc_data_bucket_name } "
167
167
automq_ops_bucket = var. automq_byoc_ops_bucket_name == " " ? module. automq_byoc_ops_bucket_name . s3_bucket_id : " ${ var . automq_byoc_ops_bucket_name } "
168
+ zone_id = aws_route53_zone. private_r53 . zone_id
168
169
}
169
170
170
171
data "aws_vpc" "vpc_id" {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ resource "aws_instance" "automq_byoc_console" {
27
27
automq_data_bucket = local.automq_data_bucket,
28
28
automq_ops_bucket = local.automq_ops_bucket,
29
29
instance_security_group_id = aws_security_group.automq_byoc_console_sg.id,
30
- instance_dns = aws_route53_zone.private_r53 .zone_id,
30
+ instance_dns = local .zone_id,
31
31
instance_profile_arn = aws_iam_instance_profile.automq_byoc_instance_profile.arn,
32
32
environment_id = var.automq_byoc_env_id
33
33
})
You can’t perform that action at this time.
0 commit comments