Skip to content

Instantly share code, notes, and snippets.

@jtarchie
Created August 3, 2020 20:49
Show Gist options
  • Save jtarchie/42f24c83aaf7349748ce2b3dc50a9e4b to your computer and use it in GitHub Desktop.
Save jtarchie/42f24c83aaf7349748ce2b3dc50a9e4b to your computer and use it in GitHub Desktop.
#! some variables need to be configurable externally
#! we can specify them in a separate file or a separate
#! YAML document node
#@ load("@ytt:data", "data")
jobs:
#@ for/end iaas in data.values.iaases:
- name: #@ "create-" + iaas.name
- name: #@ "destroy-" + iaas.name
#@data/values
---
iaases:
- name: gcp
- name: aws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment