Skip to content

Instantly share code, notes, and snippets.

@jhulten
Created August 21, 2020 21:20
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 jhulten/c56a98576ddbfa210caae1cc4de06bfa to your computer and use it in GitHub Desktop.
Save jhulten/c56a98576ddbfa210caae1cc4de06bfa to your computer and use it in GitHub Desktop.
terraform {
backend "local" {
path = "./terraform_test.tfstate"
}
}
provider "aws" {
skip_credentials_validation = true
skip_requesting_account_id = true
skip_get_ec2_platforms = true
}
terraform init
terraform plan -refresh=false -input=false -out=test_result.tfplan
terraform show -json test_result.tfplan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment