You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: operations/automation-script/README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -38,12 +38,12 @@ The script does the following steps:
38
38
1. If any apply was done, the script goes into a second loop to wait for it to finish.
39
39
1. When the apply is finished, the script downloads the apply log and the state files from before and after the apply.
40
40
41
-
Note that some json template files are included from which other json files are generated so that they can be passed to the curl commands.
41
+
*Note* that some json template files are included from which other json files are generated so that they can be passed to the curl commands.
42
42
43
43
In addition to the loadAndRunWorkspace.sh script, this example includes the following files:
44
44
45
45
1.[config/main.tf](./config/main.tf): the file with some Terraform code that says "Hello" to the person whose name is given and generates a random number. This is used if no git URL is provided to the script.
46
-
1.[workspace.template.json](./workspace.template.json) which is used to generate workspace.json which is used when creating the workspace.
46
+
1.[workspace.template.json](./workspace.template.json) which is used to generate workspace.json which is used when creating the workspace. If you wish to add or modify the API commands that are included in _@workspace.json_ payload, add them to _workspace.template.json_ and be sure to check the Terraform Enterprise API [syntax](https://www.terraform.io/docs/enterprise/api/workspaces.html#update-a-workspace). Update or modify `"terraform-version": "0.11.14"` within _workspace.template.json_ to set a specific workspace version of Terraform OSS binary.
47
47
1.[configversion.json](./configversion.json) which is used to generate a new configuration version.
48
48
1.[variable.template.json](./variable.template.json) which is used to generate variable.json which is used when creating a variable called "name" in the workspace.
49
49
1.[run.template.json](./run.template.json) which is used to generate run.json which is used when triggering a run against the workspace.
@@ -52,7 +52,7 @@ In addition to the loadAndRunWorkspace.sh script, this example includes the foll
52
52
1.[deleteWorkspace.sh](./deleteWorkspace.sh): a script that can be used to delete the workspace.
53
53
1.[restrict-name-variable.sentinel](./restrict-name-variable.sentinel): a Sentinel policy you can add to your TFE organization in order to see how the script can check Sentinel policies and even override soft-mandatory failures.
54
54
55
-
Note that the json templates file need to be in the same directory as the script itself. The variables.csv file should also be in the same directory as the script unless you include a file with the same name in your git repository.
55
+
*Note* that the json templates file need to be in the same directory as the script itself. The variables.csv file should also be in the same directory as the script unless you include a file with the same name in your git repository.
0 commit comments