Skip to content

Commit c882d00

Browse files
chore: checkov
1 parent 839b57a commit c882d00

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

examples/opensearch/data.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ data "aws_cloudformation_export" "web_subnet_b" {
66
name = var.cf_export_web_subnet_b
77
}
88

9+
data "aws_cloudformation_export" "web_subnet_c" {
10+
name = var.cf_export_web_subnet_c
11+
}
12+
913
data "aws_cloudformation_export" "app_sg_id" {
1014
name = var.cf_export_app_sg_id
1115
}

examples/opensearch/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ module "opensearch" {
4848
vpc_endpoint_subnet_ids = [
4949
data.aws_cloudformation_export.web_subnet_a.value,
5050
data.aws_cloudformation_export.web_subnet_b.value,
51+
data.aws_cloudformation_export.web_subnet_c.value,
5152
]
5253
vpc_endpoint_security_group_ids = [
5354
data.aws_cloudformation_export.app_sg_id.value,

examples/opensearch/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ variable "cf_export_web_subnet_b" {
3434
default = "subnetIDWebB-ap-southeast-1"
3535
}
3636

37+
variable "cf_export_web_subnet_c" {
38+
description = "cf_export_web_subnet_c"
39+
type = string
40+
default = "subnetIDWebC-ap-southeast-1"
41+
}
42+
3743
variable "cf_export_app_sg_id" {
3844
description = "app security group id"
3945
type = string

0 commit comments

Comments
 (0)