Project containing several command line utilities that are useful when using Apache Cloudstack and/or Hashicorp Terraform:
cloudstack-templates [<keyword>]
Will list cloudstack templates sorted by date, and optionally filtered by keyword
cloudstack-vpn <vpc name>
Will enable vpn for given vpc-name
terraform-wrapper [args.....]
Will call terraform passing arguments to terraform-wrapper as-is in addition to environment variables found in cloud-config.yml
Utilties will look for a file called cloud-config.yml in cwd containing references to passwords stored in a pass password store and inline clear text variables
---
secret-vars:
- name: AWS_ACCESS_KEY_ID
key: Amazon/route53/ACCOUNT_ID
- name: AWS_SECRET_ACCESS_KEY
key: Amazon/route53/SECRET_KEY
vars:
- name: AWS_DEFAULT_REGION
value: eu-central-1