Skip to content

Instantly share code, notes, and snippets.

@2matzzz
Created July 15, 2015 07:30
Show Gist options
  • Save 2matzzz/ded1426f18f40dbcddd7 to your computer and use it in GitHub Desktop.
Save 2matzzz/ded1426f18f40dbcddd7 to your computer and use it in GitHub Desktop.
terraform first step
BUCKET_NAME="your-bucket-name"
aws s3 mb "${BUCKET_NAME}"
terraform remote config -backend=S3 -backend-config="bucket=${BUCKET_NAME}" -backend-config="key=terraform.tfstate"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment