-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Closed
Labels
Description
Would like to follow DRY principles with my TF templates.
I currently have:
resource "terraform_remote_state" "vpc" {
backend = "consul"
config {
address = "consul.domain.com"
path = "us-east-1/vpc"
scheme = "https"
}
}
resource "terraform_remote_state" "inf-sg" {
backend = "consul"
config {
address = "consul.domain.com"
path = "us-east-1/inf-security-groups"
scheme = "https"
}
}
----- at the top of all my templates
would prefer the ability to use:
include "../../common/tf_remotes.tf"
ikatson, julienvey, roobert, Amila17, donnoman and 9 more