Skip to content

Commit 9b698d2

Browse files
joscheuererrixhieloomis
authored andcommitted
Update example_payload.jsonc
1 parent b55c5ca commit 9b698d2

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

transformer/terraform-cloud/example_payload.jsonc

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
{
2-
"ResourceName": "", // workspace name
3-
"wfgrpName": "", // workflow group name
4-
"Description": "", // workflow description
5-
"Tags": [], // workflow tags
6-
"EnvironmentVariables": [], // variables of category env
7-
82
"Approvers": [],
93
"CLIConfiguration": {
104
"TfStateFilePath": "", // path to the state file
115
"WorkflowGroup": {
12-
"name": "" // workflowgroup name
6+
"name": "" // workflowgroup name - will be created if it does not exist
137
}
148
},
159
"DeploymentPlatformConfig": [
@@ -21,6 +15,8 @@
2115
}
2216
}
2317
],
18+
"Description": "", // workflow description
19+
"EnvironmentVariables": [], // variables of category env
2420
"MiniSteps": {
2521
"notifications": {
2622
"email": {
@@ -32,8 +28,9 @@
3228
},
3329
"wfChaining": { "COMPLETED": [], "ERRORED": [] }
3430
},
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
3734
"TerraformConfig": {
3835
"managedTerraformState": true, // managed state from StackGuardian
3936
"terraformVersion": "1.1.6" // version of terraform
@@ -44,11 +41,11 @@
4441
"iacVCSConfig": {
4542
"customSource": {
4643
"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
4845
"includeSubModule": false,
4946
"isPrivate": true, // auth needs to be avaiable , if isPrivate is set to true
5047
"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
5249
"workingDir": ""
5350
},
5451
"sourceConfigDestKind": "PLEASE PROVIDE A VALUE" // value corresponds to "GITLAB_COM", "GITHUB_COM" , "BITBUCKET_ORG" OR "AZURE_DEVOPS"

0 commit comments

Comments
 (0)