Skip to content

Commit 463ef67

Browse files
committed
Rename terraform folder -> infra
1 parent c3f77a9 commit 463ef67

30 files changed

Lines changed: 6 additions & 6 deletions

β€Ž.github/workflows/deploy-penny.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ jobs:
7575
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
7676

7777
- name: Terraform init
78-
working-directory: terraform
78+
working-directory: infra
7979
env:
8080
# A hack to skip using a profile in CI, to use OIDC instead
8181
TF_VAR_aws_profile: ""
8282
run: |
8383
terraform init -input=false -backend-config="profile="
8484
8585
- name: Terraform apply
86-
working-directory: terraform
86+
working-directory: infra
8787
env:
8888
# A hack to skip using a profile in CI, to use OIDC instead
8989
TF_VAR_aws_profile: ""

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Penny is a Swift bot that works for the [Vapor](https://vapor.codes) community.
3131

3232
Penny's AWS infrastructure resources are managed via Terraform.
3333
This includes ECS, Lambdas, API Gateway, DynamoDB, S3, IAM, Secrets Manager.
34-
See [`terraform/README.md`](terraform/README.md) for more info.
34+
See [`infra/README.md`](infra/README.md) for more info.
3535

3636
### Automatic Releases
3737

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ aws login --profile vapor
1515
./scripts/tf-check.bash
1616

1717
# work with terraform
18-
cd ./terraform
18+
cd ./infra
1919
# is mise already activated?
2020
mise doctor | grep 'activated'
2121
# activate mise so you don't need to prefix all the following terraform commands with `mise x --`
@@ -51,7 +51,7 @@ At first run, you'll need to run the bootstrap terraform to create the state S3
5151
mise doctor | grep 'activated'
5252
# activate mise so you don't need to prefix all the following terraform commands with `mise x --`
5353
mise activate fish | source # bash: eval "$(mise activate bash)" β€” puts the pinned tools on PATH
54-
cd ./terraform/bootstrap && terraform init && terraform apply
54+
cd ./infra/bootstrap && terraform init && terraform apply
5555
cd .. && terraform init && terraform plan
5656
terraform apply
5757
```

0 commit comments

Comments
Β (0)