move compartment to oci.main.tf
This commit is contained in:
parent
cec420ab0e
commit
7b69d6f45b
|
@ -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"])
|
||||
|
|
7
oci.main.tf
Normal file
7
oci.main.tf
Normal file
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user