Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 640 Bytes

File metadata and controls

30 lines (18 loc) · 640 Bytes

Create a compartment

Create compartment

Key tasks include how to:

Use Oracle Cloud Infrastructure Terraform provider resources to:

  • Declare a compartment with your specifics.

  • Create the compartment in your tenancy.

  • Plan

╰─ terraform plan -var-file=$OCI_TFVARS_LOCATION/terraform.tfvars

  + create

Plan: 1 to add, 0 to change, 0 to destroy.
  • Apply
╰─ terraform apply -var-file=$OCI_TFVARS_LOCATION/terraform.tfvars

  + create
  Apply complete! Resources: 1 added, 0 changed, 0 destroyed.