Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tongueroo/terraspace-yaml-load-example
Terraspace YAML Load Override Example
https://github.com/tongueroo/terraspace-yaml-load-example
Last synced: about 1 month ago
JSON representation
Terraspace YAML Load Override Example
- Host: GitHub
- URL: https://github.com/tongueroo/terraspace-yaml-load-example
- Owner: tongueroo
- Created: 2022-07-20T15:57:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-20T16:05:55.000Z (over 2 years ago)
- Last Synced: 2024-10-14T22:16:47.216Z (3 months ago)
- Language: HCL
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraspace Project
This is an quick example shows how use a custom YAML load method.
[![BoltOps Badge](https://img.boltops.com/boltops/badges/boltops-badge.png)](https://www.boltops.com)
[![BoltOps Learn Badge](https://img.boltops.com/boltops-learn/boltops-learn.png)](https://learn.boltops.com)
## Debugging Session
$ terraspace build demo
Building .terraspace-cache/us-west-2/dev/stacks/demo
$ cat .terraspace-cache/us-west-2/dev/stacks/demo/main.tf
resource "random_pet" "this" {
keepers = {
test_true = "on"
test_false = "false"
test_yes = "true"
test_no = "false"
test_on = "on" # should load as "on" string instead of boolean true
test_off = "off" # should load as "off" string instead of boolean false
test_y = "y"
test_n = "n"
test_Y = "Y"
test_N = "N"
}
}
$