Skip to content

Instantly share code, notes, and snippets.

@rahulsahay19
Last active April 4, 2020 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahulsahay19/42531e4337331d3040fd0649053ac695 to your computer and use it in GitHub Desktop.
Save rahulsahay19/42531e4337331d3040fd0649053ac695 to your computer and use it in GitHub Desktop.
terraform-init.sh
terraform init -backend-config="storage_account_name=tfseries" -backend-config="container_name=tfstate" -backend-config="access_key=$(az keyvault secret show --name tfstate-storage-key --vault-name tRahulKeyVault --query value -o tsv)" -backend-config="key=terraform.tfstate.cli"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment