Sha256: 719db51c15205f52e1d0f8c64c435fee4e0aea407c750284ceedd502faa859e2

Contents?: true

Size: 637 Bytes

Versions: 2

Compression:

Stored size: 637 Bytes

Contents

#!/usr/bin/env bash

# Remove existing BOSH deployments
bosh -e <%= @values['bosh']['name'] %> -d concourse deld

# Destroy BOSH director
bosh delete-env deployments/bosh/bosh.yml \
  --state=config/state.json \
  --vars-store=config/creds.yml \
  --vars-file=config/bosh-vars.yml \
  --var-file private_key=<%= @values['kite']['private_key_path'] %> \
  -o deployments/bosh/cpi.yml \
  -o deployments/bosh/jumpbox-user.yml

# Destroy Terraform-generated infrastructure
pushd terraform && terraform destroy && popd

# Remove files generated by kite
rm -rf terraform deployments docs config/{creds.yml,bosh-vars.yml,jumpbox.key} bin/*.sh

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kite-0.2.0 tpl/aws/bin/base/cleanup.sh.tt
kite-0.1.0 tpl/aws/bin/base/cleanup.sh.tt