You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: module/single-node-omnibus/local-resources.tf
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# use this resource when a module accepts a subnet id as an input variable and needs to, for example, determine the id of the VPC that the subnet belongs to.
2
2
data"aws_subnet""private_selected" {
3
-
id="${element (["${var.private_subnet_id}"], 0)}"
3
+
id=element(var.private_subnet_id, 0)
4
4
}
5
5
6
6
data"aws_subnet""public_selected" {
7
-
id="${element (["${var.public_subnet_id}"], 0)}"
7
+
id=element(var.public_subnet_id, 0)
8
8
}
9
9
10
10
# Use this data source to get the access to the effective Account ID, User ID, and ARN in which Terraform is authorized.
@@ -49,6 +49,7 @@ data "template_cloudinit_config" "config" {
0 commit comments