Skip to content

Commit b42ba63

Browse files
committed
chore: access key script
1 parent 180c8f2 commit b42ba63

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
# terraform
22

33
## Notes
4-
you must have `terraform` and `az` (azure) cli installed.
4+
5+
you must have `terraform` and `az` (azure) cli installed.
56
you must login `az login` and set the correct subscription.
67
then you must set the `ARM_ACCESS_KEY` to execute `terraform` commands, in linux/osx:
78

89
```bash
9-
export ARM_ACCESS_KEY=$(az storage account keys list --resource-group rg-polinetwork --account-name polinetworksa --query '[0].value' -o tsv)
10+
source ./access_key.sh
1011
```
1112

1213
if resource group or account name changes, change them accordingly
1314

1415
## TODO
16+
1517
- [x] fix secrets for ci gh workflows
1618
- [x] clean unusued modules
1719
- [ ] upgrade providers to latest version (following migration guide)
1820
- [ ] better organization of the filebase
19-
- [x] double check that the backend is working correctly and that the saved state is as the real state
21+
- [x] double check that the backend is working correctly and that the saved state is as the real state

access_key.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export ARM_ACCESS_KEY=$(az storage account keys list --resource-group rg-polinetwork --account-name polinetworksa --query '[0].value' -o tsv)

0 commit comments

Comments
 (0)