larstobi / cloud-tools

Useful cloudstack command line tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloud tools

Project containing several command line utilities that are useful when using Apache Cloudstack and/or Hashicorp Terraform:

Tools:

cloudstack-templates

 cloudstack-templates [<keyword>]

Will list cloudstack templates sorted by date, and optionally filtered by keyword

cloudstack-vpn

cloudstack-vpn <vpc name>

Will enable vpn for given vpc-name

terraform-wrapper

terraform-wrapper [args.....]

Will call terraform passing arguments to terraform-wrapper as-is in addition to environment variables found in cloud-config.yml

Configuration:

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

Example cloud-config.yml:

---

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

About

Useful cloudstack command line tools


Languages

Language:Go 99.9%Language:Shell 0.1%