Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.02 KB

File metadata and controls

17 lines (12 loc) · 1.02 KB

Creating Terraform Scripts

You will need to create your own Terraform scripts, that will be leveraged by the Unity CS deployment framework.

Your scripts will:

  • Need to reside in a terraform-unity directory at the top-level of your GitHub repository.
    • For example: unity-sps-prototype/terraform-unity
    • main.tf will be the main entry point into the terraform scripts, so that file needs to exist
    • Example from U-SPS
    • sub-directories under terraform-unity can also exist, and these terraform scripts will also be picked up, if linked to directly via terraform modules in the terraform files in terraform-unity
  • can reference Unity CS core/shared variables like vpc_id.
    • TODO: enumerate what these variables are, and what they can be used for.

You can create terraform scripts with any name, other than the ones U-CS.

TODO: enumerate what reserved script names there are, so that they can be avoided.