diff --git a/docs/63_dandi_infrastructure.md b/docs/63_dandi_infrastructure.md index 2ce79b48..314e3177 100644 --- a/docs/63_dandi_infrastructure.md +++ b/docs/63_dandi_infrastructure.md @@ -2,6 +2,37 @@ ## Configuring Terraform +[First, make sure you have properly set up your Terraform Cloud account and linked the account to the proper GitHub repository](../60_initialize_vendors/#terraform-cloud) + +To double-check whether your GitHub repository is properly linked, proceed to the `Version Control` tab. + +The `Version Control` Repository value should point to the repository, and the `Terraform Working Directory` should point to `terraform` + +

+ +

+ +## Applying Terraform + +There are two ways in which you can invoke `terraform plan` and `terraform apply` upon your infrastructure. + +### Automatic Run Triggering + +This is set to occur by default when you connect a GitHub repository to Terraform Cloud. After pushing code to your repository, +Terraform will run `terraform plan`, generating a summary of what will happen if you were to run `terraform apply`. + +**Note: `terraform apply` will not be run automatically (this is good!), so be sure to review and check prior to applying + +

+ +

+ ## Manual Steps in the AWS Console and Netlify ## Setting up Email \ No newline at end of file diff --git a/docs/img/terraform_auto.png b/docs/img/terraform_auto.png new file mode 100644 index 00000000..6092de93 Binary files /dev/null and b/docs/img/terraform_auto.png differ diff --git a/docs/img/terraform_config.png b/docs/img/terraform_config.png new file mode 100644 index 00000000..c54fa832 Binary files /dev/null and b/docs/img/terraform_config.png differ