-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a12d55b
commit 92138a2
Showing
2 changed files
with
48 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# TFC Runs | ||
Get the total number of runs executed in TFC | ||
|
||
## Requirements: | ||
* `python3` and `pip3` | ||
* `pip3 install click requests --quiet` | ||
* `terraform login` has been performed from the the device this is being exeuted on (script uses the well known credentials file) | ||
|
||
## Usage | ||
|
||
`python3 runs.py list-all` | ||
|
||
### Expected Result | ||
|
||
``` | ||
python3 runs.py list-all | ||
Workspace demo1 has had 2 runs. | ||
Workspace VPC has had 5 runs. | ||
Workspaces3 has had 0 runs. | ||
Workspace MigrationDemo has had 2 runs. | ||
Workspace Scalr has had 1 runs. | ||
--------------------------- | ||
The total runs count across all organizations: 10 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters