Skip to content

Commit 195fae4

Browse files
committed
docs(infrastructure): update set up to use devcontainer
1 parent 6e11531 commit 195fae4

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

docs/explanation/infrastructure.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,18 +147,14 @@ Use the following shorthand for conveying the Resource Type as part of the Resou
147147
### Set up for local development
148148

149149
1. [Get access to the Azure account through the DevSecOps team.](#getting-started)
150-
1. Install dependencies:
151-
152-
- [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
153-
- [Terraform](https://www.terraform.io/downloads) - see exact version in [`deploy.yml`](https://github.com/cal-itp/benefits/blob/main/terraform/pipeline/deploy.yml)
154-
150+
1. Rebuild and launch the [dev container](development/README.md)
151+
1. Navigate to the [`terraform/`](https://github.com/cal-itp/benefits/tree/main/terraform) directory.
155152
1. [Authenticate using the Azure CLI](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/azure_cli).
156153

157154
```sh
158155
az login
159156
```
160157

161-
1. Outside the [dev container](development/README.md), navigate to the [`terraform/`](https://github.com/cal-itp/benefits/tree/main/terraform) directory.
162158
1. [Initialize Terraform.](https://www.terraform.io/cli/commands/init) You can also use this script later to switch between [environments](#environments).
163159

164160
```sh
@@ -181,7 +177,8 @@ When configuration changes to infrastructure resources are needed, they should b
181177
1. [Submit the changes via pull request.](development/commits-branches-merging.md)
182178

183179
!!! info "Azure tags"
184-
For Azure resources, you need to [ignore changes](https://www.terraform.io/language/meta-arguments/lifecycle#ignore_changes) to tags, since they are [automatically created by an Azure Policy managed by CDT](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-policies).
180+
181+
For Azure resources, you need to [ignore changes](https://www.terraform.io/language/meta-arguments/lifecycle#ignore_changes) to tags, since they are [automatically created by an Azure Policy managed by CDT](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-policies).
185182

186183
```hcl
187184
lifecycle {

terraform/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[Documentation](https://docs.calitp.org/benefits/deployment/infrastructure/)
1+
[Documentation](https://docs.calitp.org/benefits/explanation/infrastructure/)

0 commit comments

Comments
 (0)