|
1 | 1 | { |
2 | | - "ResourceName": "", // workspace name |
3 | | - "wfgrpName": "", // workflow group name |
4 | | - "Description": "", // workflow description |
5 | | - "Tags": [], // workflow tags |
6 | | - "EnvironmentVariables": [], // variables of category env |
7 | | - |
8 | 2 | "Approvers": [], |
9 | 3 | "CLIConfiguration": { |
10 | 4 | "TfStateFilePath": "", // path to the state file |
11 | 5 | "WorkflowGroup": { |
12 | | - "name": "" // workflowgroup name |
| 6 | + "name": "" // workflowgroup name - will be created if it does not exist |
13 | 7 | } |
14 | 8 | }, |
15 | 9 | "DeploymentPlatformConfig": [ |
|
21 | 15 | } |
22 | 16 | } |
23 | 17 | ], |
| 18 | + "Description": "", // workflow description |
| 19 | + "EnvironmentVariables": [], // variables of category env |
24 | 20 | "MiniSteps": { |
25 | 21 | "notifications": { |
26 | 22 | "email": { |
|
32 | 28 | }, |
33 | 29 | "wfChaining": { "COMPLETED": [], "ERRORED": [] } |
34 | 30 | }, |
35 | | - |
36 | | - "RunnerConstraints": { "type": "" }, // type should be "shared" or "private" |
| 31 | + "ResourceName": "", // workspace name |
| 32 | + "RunnerConstraints": { "type": "" }, // type should be "shared" or "private" i.e. "RunnerConstraints": { "type": "private", "names":["runner-group-name"]} |
| 33 | + "Tags": [], // workflow tags |
37 | 34 | "TerraformConfig": { |
38 | 35 | "managedTerraformState": true, // managed state from StackGuardian |
39 | 36 | "terraformVersion": "1.1.6" // version of terraform |
|
44 | 41 | "iacVCSConfig": { |
45 | 42 | "customSource": { |
46 | 43 | "config": { |
47 | | - "auth": "PLEASE PROVIDE A VALUE", // value corresponds to /secrets/<your-secret-from-stackguardian> or /integrations/<your-integration-from-stackguardian> |
| 44 | + "auth": "PLEASE PROVIDE A VALUE", // value corresponds to /secrets/<your-secret-from-stackguardian> or /integrations/<your-integration-from-stackguardian> i.e. /integrations/github_com |
48 | 45 | "includeSubModule": false, |
49 | 46 | "isPrivate": true, // auth needs to be avaiable , if isPrivate is set to true |
50 | 47 | "ref": "", |
51 | | - "repo": "", // full https path to the repository |
| 48 | + "repo": "", // full https path to the repository i.e. https://github.com/StackGuardian/terraform-aws-vpc |
52 | 49 | "workingDir": "" |
53 | 50 | }, |
54 | 51 | "sourceConfigDestKind": "PLEASE PROVIDE A VALUE" // value corresponds to "GITLAB_COM", "GITHUB_COM" , "BITBUCKET_ORG" OR "AZURE_DEVOPS" |
|
0 commit comments