From 61819c2fc3329400e9d98031d40607fe6fdc2111 Mon Sep 17 00:00:00 2001 From: Marc Pomfret Date: Thu, 30 Nov 2023 15:48:36 +0000 Subject: [PATCH] Cluster-services remote state --- .../deployments/cluster-services/remote.tf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/terraform/deployments/cluster-services/remote.tf b/terraform/deployments/cluster-services/remote.tf index 6cca11692..426882b80 100644 --- a/terraform/deployments/cluster-services/remote.tf +++ b/terraform/deployments/cluster-services/remote.tf @@ -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" +# }