How to automate OCI with Terraform (2019 Edition)

This content is protected, please and enroll course to view this content!

5 thoughts on “Lesson 1 – VCN, Subnet and Single Webserver

  1. It will require some small changes in the code. You should remove file and in each other tf file you should change the value of compartment_id the attribute (for example compartment_id = var.compartment_ocid). In that case each and every resource will be created in the compartment value populated within TF_VAR_compartment_id system environment (it can be tenant OCID for root compartment or any other compartment below the root compartment).

  2. Hi Luke … I have a question why this command doesn’t work on the subnet (security_list_ids = without brackets … like others resources like a compartment_id …

Leave a Reply

2 thoughts on “How to automate OCI with Terraform (2019 Edition)

Comments are closed.