Sha256: c263b8ff042a126711805e155021d4bb8b34a233805c5068bbb4239fe2c30954

Contents?: true

Size: 319 Bytes

Versions: 5

Compression:

Stored size: 319 Bytes

Contents

#!/bin/bash

export STACK_NAME=$(basename "$PWD")

export DEPLOY_BUCKET=$(aws cloudformation describe-stacks --stack-name $STACK_NAME --output text --query "Stacks[].Outputs[]"|grep DeployBucket|awk '{print $2}')

aws s3 rm s3://$DEPLOY_BUCKET --recursive

aws cloudformation delete-stack \
  --stack-name $STACK_NAME 

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simplerubysteps-0.0.5 lib/destroy.sh
simplerubysteps-0.0.4 lib/destroy.sh
simplerubysteps-0.0.3 lib/destroy.sh
simplerubysteps-0.0.2 lib/destroy.sh
simplerubysteps-0.0.1 lib/destroy.sh