diff --git a/oci.identity.tf b/oci.identity.tf index b740c5f..8eed18c 100644 --- a/oci.identity.tf +++ b/oci.identity.tf @@ -1,11 +1,3 @@ -resource "oci_identity_compartment" "compartment" { - compartment_id = var.tenancy_id - name = join("", [var.prefix, "compartment"]) - description = local.common_description - enable_delete = true - freeform_tags = local.freeform_tags -} - resource "oci_identity_group" "administrators" { compartment_id = var.tenancy_id name = join("", [var.prefix, "administrators"]) diff --git a/oci.main.tf b/oci.main.tf new file mode 100644 index 0000000..e5be69a --- /dev/null +++ b/oci.main.tf @@ -0,0 +1,7 @@ +resource "oci_identity_compartment" "compartment" { + compartment_id = var.tenancy_id + name = join("", [var.prefix, "compartment"]) + description = local.common_description + enable_delete = true + freeform_tags = local.freeform_tags +}