File tree 1 file changed +40
-10
lines changed
1 file changed +40
-10
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,50 @@ Terraform cloud scripts
22
22
### Usage:
23
23
24
24
``` shell
25
- terraform-cloud < resource > < action > [arguments]
25
+ terraform-cloud < command > < sucommand > [arguments]
26
26
```
27
27
OR
28
28
``` shell
29
- tfc < resource > < action > [arguments]
29
+ tfc < command > < sucommand > [arguments]
30
30
```
31
- ### Available Allowed Resources :
31
+ ### Available Commands and Subcommands :
32
32
- ` workspace `
33
+ - ` get ` - Prints the provided workspace as output
34
+
35
+ Example:
36
+ ``` shell
37
+ $ tfc workspace get orgnization/workspace
38
+ ```
39
+ - ` list` - List all workspaces in Organization.
40
+
41
+ Note: In case of missing organization name, Throws an error and outputs all available organizations in the account.
42
+
43
+ Example:
44
+ ` ` ` shell
45
+ $ tfc workspace list
46
+
47
+ Error: Organization Missing
48
+ Please pass organization from list below:
49
+ - OrgA
50
+ - OrgB
51
+
52
+
53
+ Terraform Cloud - Devops Scripts
54
+
55
+ Github: https://github.com/phenixcoder/devops-scripts
56
+
57
+ Usage:
58
+ terraform-cloud < resource> < action> [arguments]
59
+ OR
60
+ tfc < resource> < action> [arguments]
61
+
62
+ ` ` `
63
+ OR
64
+ ` ` ` shell
65
+ $ tfc workspace list orgnization
66
+ ` ` `
33
67
- ` output`
68
+ - ` get` - Get the first output from latest state and prints as output
69
+ - ` list` - Lista all output in the state.
34
70
- ` state`
35
-
36
- ### Available Allowed Actions:
37
- - ` get `
38
- - ` set `
39
- - ` list `
40
-
41
- ---
71
+ - ` get` - Get the latest state and prints as output
You can’t perform that action at this time.
0 commit comments