Skip to content

Commit

Permalink
Cluster-services remote state
Browse files Browse the repository at this point in the history
  • Loading branch information
marcpomfret committed Nov 30, 2023
1 parent e53a2f6 commit 61819c2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions terraform/deployments/cluster-services/remote.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,21 @@ data "terraform_remote_state" "cluster_infrastructure" {
region = data.aws_region.current.name
}
}

# Not got as far as testing this yet but assuming it probably some thing like this
# data "terraform_remote_state" "cluster_infrastructure" {
# backend = "remote"
# config = {
# organization = "govuk"
# workspaces = {
# tags = ["cluster-service", "eks", "aws"]
# }
# }
# }


# or this
# data "tfe_outputs" "cluster_infrastructure_integration" {
# organization = "govuk"
# workspace = "cluster-infrastructure-integration"
# }

0 comments on commit 61819c2

Please sign in to comment.