Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Create terraforming_all #494

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions script/terraforming_all
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
###################################################
# Script by Martin Kraus Larsen <[email protected]>

# Build array of Terraforming-commands
arrCmds=( asg dbpg dbsg dbsn ec2 ecc ecsn elb iamg iamgm iamgp iamip iamp iamr iamrp iamu iamup nacl r53r r53z rds rt rta s3 sg sn vpc )

# Run it
for i in "${arrCmds[@]}"
do
echo "Terraforming the $i"
terraforming $i > $i.tf
done