mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 07:01:56 +03:00
removed legacy code
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#!/bin/sh
|
||||
# not necessary anymore in newer terraform versions, you can use a backend.tf file
|
||||
#terraform remote config -backend=s3 -backend-config="bucket=terraform-state-a2b621f" -backend-config="key=terraform/terraform.tfstate" -backend-config="region=eu-west-1"
|
||||
if [ "`terraform --version |head -n1`" == "Terraform v0.7.7" ] ; then
|
||||
terraform remote config -backend=s3 -backend-config="bucket=terraform-state-a2b621f" -backend-config="key=terraform/terraform.tfstate" -backend-config="region=eu-west-1"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user