-
Notifications
You must be signed in to change notification settings - Fork 0
/
stack.config.example.json
28 lines (28 loc) · 1.18 KB
/
stack.config.example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"azure": {
"state": {
"keyPrefix": "first of three segments for key names of state files within blob storage",
"resourceGroup": "name of resource group on Azure which contains the storage account",
"storageAccount": "name of Azure storage account where Terraform state is stored",
"subscription": "GUID of Azure subscription holding the state storage account"
},
"subscriptions": {
"a stack under '/<stackPrefix>/<this key>/<a stack name>/'": "will map to subscription associated with <this key>",
"exampleSubName": "subscription GUIDs go here",
"this key will be matched to a parent directory": "this value will map said directory to a specific subscription"
}
},
"azureDevOps": {
"buildDefID": 5,
"destroyDefID": 6,
"org": "MyAzureDevOpsOrg",
"pat": "<52 character alphanumeric, generated here: https://dev.azure.com/<org>/_usersSettings/tokens>",
"project": "MyAzureDevOpsProject"
},
"github": {
"org": "MyGitHubOrg",
"pat": "<40 character hexadecimal, generated here: https://github.com/settings/tokens>",
"repo": "MyGitHubRepo"
},
"stackPrefix": "/some/segment/of/repo/directory/structure/"
}