Skip to content

Commit

Permalink
Update terraform.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hrvolapeter authored Sep 5, 2024
1 parent 3299dc7 commit cc00511
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions commons/content/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
For authenticating against the OCI tenancy terraform execute the following [instructions](/commons/content/terraform_authentication.md).
### **2 Clone this Git repo to your Machine**
```
git clone [email protected]:oracle-quickstart/terraform-oci-open-lz.git
git clone [email protected]:oci-landing-zones/oci-landing-zone-operating-entities.git
```
### **3 Clone the orchestrator Git repo to your Machine**
Cloning the latest version:
```
git clone [email protected]:oracle-quickstart/terraform-oci-landing-zones-orchestrator.git
git clone [email protected]:oci-landing-zones/terraform-oci-modules-orchestrator.git
```
### **4 Change the Directory to the Terraform Orchestrator Module**
Change the directory to the *terraform-oci-landing-zones-orchestrator* Terraform orchestrator module.
Expand All @@ -31,10 +31,10 @@ Run ```terraform init``` to download all the required external terraform provide
Run ```terraform plan``` with the required configuration files specified using `-var-file`.
```
terraform plan \
-var-file ../terraform-oci-open-lz/commons/content/oci-credentials.tfvars.json \
-var-file ../terraform-oci-open-lz/... \
-var-file ../terraform-oci-open-lz/... \
-var-file ../terraform-oci-open-lz/... \
-var-file ../oci-landing-zone-operating-entities/commons/content/oci-credentials.tfvars.json \
-var-file ../oci-landing-zone-operating-entities/... \
-var-file ../oci-landing-zone-operating-entities/... \
-var-file ../oci-landing-zone-operating-entities/... \
```

Expand All @@ -50,10 +50,10 @@ The ideal scenario regarding the **state file** will be for each configuration t
Run terraform plan with the required configuration files specified using `-var-file`. After its execution the configured resources will be provisioned or updated on OCI.
```
terraform apply \
-var-file ../terraform-oci-open-lz/commons/content/oci-credentials.tfvars.json \
-var-file ../terraform-oci-open-lz/... \
-var-file ../terraform-oci-open-lz/... \
-var-file ../terraform-oci-open-lz/... \
-var-file ../oci-landing-zone-operating-entities/commons/content/oci-credentials.tfvars.json \
-var-file ../oci-landing-zone-operating-entities/... \
-var-file ../oci-landing-zone-operating-entities/... \
-var-file ../oci-landing-zone-operating-entities/... \
```

 
Expand Down

0 comments on commit cc00511

Please sign in to comment.