Last active
June 18, 2021 11:49
-
-
Save kunduso/2729ebec0fc88fc58862f9fcd88d59f1 to your computer and use it in GitHub Desktop.
Powershell command to initialize a terraform working directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform init -backend-config="bucket=$(remote-state-bucket-name)" -backend-config="key=tf/terraform.tfstate" -backend-config="region=$(region)" -backend-config="access_key=$(access_key)" -backend-config="secret_key=$(secret_key)" -no-color |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment