-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Showing
18 changed files
with
154 additions
and
18 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,15 @@ | ||
terraform { | ||
backend "local" {} | ||
} | ||
|
||
resource "random_pet" "pet" { | ||
count = 10 | ||
|
||
keepers = { | ||
now = timestamp() | ||
} | ||
} | ||
|
||
output "pets" { | ||
value = random_pet.pet[*].id | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,15 @@ | ||
terraform { | ||
backend "local" {} | ||
} | ||
|
||
resource "random_pet" "pet" { | ||
count = 10 | ||
|
||
keepers = { | ||
now = timestamp() | ||
} | ||
} | ||
|
||
output "pets" { | ||
value = random_pet.pet[*].id | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,15 @@ | ||
terraform { | ||
backend "local" {} | ||
} | ||
|
||
resource "random_pet" "pet" { | ||
count = 10 | ||
|
||
keepers = { | ||
now = timestamp() | ||
} | ||
} | ||
|
||
output "pets" { | ||
value = random_pet.pet[*].id | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,46 @@ | ||
Output demos/getting_started/getting_started.gif | ||
|
||
Set Shell "bash" | ||
Set FontSize 14 | ||
Set Width 1200 | ||
Set Height 800 | ||
Set Framerate 24 | ||
Set Padding 5 | ||
|
||
Hide | ||
Type "demos/getting_started/reset.sh" Enter | ||
Type `TF_CLI_CONFIG_FILE=$PWD/mirror/mirror.tfrc go run main.go -w demos/getting_started/configs` Enter | ||
Sleep 1s | ||
Show | ||
|
||
# list of modules | ||
Screenshot demos/getting_started/modules.png | ||
# sleep a bit because otherwise vhs seems to take a screenshot of the init in | ||
# the next step.... | ||
Sleep 0.5s | ||
|
||
# init module a | ||
Type "i" Sleep 0.5s | ||
Screenshot demos/getting_started/init.png | ||
|
||
# go to module a's page | ||
Type "m" Sleep 0.5s | ||
Screenshot demos/getting_started/module.png | ||
|
||
# create a plan | ||
Type "p" Sleep 0.5s | ||
Screenshot demos/getting_started/plan.png | ||
|
||
# apply plan | ||
Type "a" Sleep 0.5s | ||
Screenshot demos/getting_started/confirm.png | ||
|
||
Type "y" Sleep 0.5s | ||
Screenshot demos/getting_started/apply.png | ||
|
||
# wait for apply to finish and state to be reloaded | ||
Sleep 3s | ||
|
||
# go to workspace page and cycle through tabs to the resources tab | ||
Type "w" Sleep 0.5s Tab Tab | ||
Screenshot demos/getting_started/resources.png |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
find ./demos/getting_started -name .terraform -exec rm -rf {} \; > /dev/null 2>&1 || true | ||
find ./demos/getting_started -name terraform.tfstate* -exec rm -rf {} \; > /dev/null 2>&1 || true | ||
find ./demos/getting_started -name .pug -exec rm -rf {} \; > /dev/null 2>&1 || true |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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