Skip to content

Commit 4e5c9c4

Browse files
committed
Use locals in terraform
1 parent 78fa03c commit 4e5c9c4

File tree

1 file changed

+1
-1
lines changed
  • security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform

1 file changed

+1
-1
lines changed

security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform/functions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
resource "oci_functions_application" "DataSafeAuditDBtoLoggingApp" {
1313
compartment_id = var.compartment_ocid
1414
display_name = "${var.FunctionAppNamePrefix}-${var.deployment_name}-${random_id.tag.hex}"
15-
subnet_ids = [var.create_network ? module.setup-network[0].fnsubnet_ocid : var.subnet_ocid]
15+
subnet_ids = [var.create_network ? module.setup-network[0].subnet_ocid : var.subnet_ocid]
1616
}
1717

1818
resource "oci_functions_function" "postauditlogs" {

0 commit comments

Comments
 (0)