From ed704d3a128ccda88339091513414fcd5cc5d9b1 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Mon, 12 Feb 2024 14:08:30 -0800 Subject: [PATCH] docs(terraform): add step for local tfvars setup --- docs/deployment/infrastructure.md | 1 + terraform/terraform.tfvars.sample | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 terraform/terraform.tfvars.sample diff --git a/docs/deployment/infrastructure.md b/docs/deployment/infrastructure.md index 97afea83e6..14047ae23e 100644 --- a/docs/deployment/infrastructure.md +++ b/docs/deployment/infrastructure.md @@ -131,6 +131,7 @@ Terraform is [`plan`](https://www.terraform.io/cli/commands/plan)'d when code is ./init.sh ``` +1. Create a local `terraform.tfvars` file (ignored by git) from the sample; fill in the `*_OBJECT_ID` variables with values from the Azure Pipeline definition. 1. Make changes to Terraform files. 1. Preview the changes, as necessary. diff --git a/terraform/terraform.tfvars.sample b/terraform/terraform.tfvars.sample new file mode 100644 index 0000000000..7413007e56 --- /dev/null +++ b/terraform/terraform.tfvars.sample @@ -0,0 +1,2 @@ +DEVSECOPS_OBJECT_ID = "object-id" +ENGINEERING_GROUP_OBJECT_ID = "object-id"