Skip to content

Instantly share code, notes, and snippets.

@davidvuong
Created August 11, 2020 13:40
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 davidvuong/f6569cd51822f7b7ef14e8805371bfdc to your computer and use it in GitHub Desktop.
Save davidvuong/f6569cd51822f7b7ef14e8805371bfdc to your computer and use it in GitHub Desktop.
data "terraform_remote_state" "vpc" {
backend = "s3"
config {
bucket = "networking-terraform-state-files"
key = "vpc-prod.terraform.tfstate"
region = "us-east-1"
}
}
data.terraform_remote_state.vpc.private_subnet_ids
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment