first functional commit
This commit is contained in:
14
localImages/init.sh
Executable file
14
localImages/init.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd /mnt || exit 1
|
||||
|
||||
envsubst < templates/site.temp > site.yml
|
||||
envsubst < templates/vars.temp > vars.tf
|
||||
|
||||
terraform init
|
||||
|
||||
terraform destroy -auto-approve
|
||||
|
||||
terraform apply -auto-approve
|
||||
|
||||
rm site.yml
|
||||
Reference in New Issue
Block a user