Skip to content

Commit 327ec29

Browse files
committed
Use locals in terraform
1 parent 36360b8 commit 327ec29

File tree

2 files changed

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

2 files changed

+13
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,7 @@ module "setup-network" {
5757
subnetdnslabelprefix = var.subnetdnslabelprefix
5858
vcnnamesecuritylistprefix = var.vcnnamesecuritylistprefix
5959
vcnnameservicegatewayprefix = var.vcnnameservicegatewayprefix
60+
deployment_name = var.deployment_name
61+
region = var.region
62+
purpose = var.purpose
6063
}

security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform/modules/network/variables.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88
#
99
################################################################################
1010

11+
variable "deployment_name" {
12+
description = "Deployment Name"
13+
14+
variable "region" {
15+
description = "OCI Region"
16+
}
17+
18+
variable "purpose" {
19+
}
20+
1121
variable "compartment_ocid" {
1222
description = "the OCID of the compartment where the environment will be created."
1323
}

0 commit comments

Comments
 (0)