From a3bab225ef91ce16f495cd42fcf91ba8e77f0c1e Mon Sep 17 00:00:00 2001 From: caetano-colin Date: Mon, 13 May 2024 16:58:31 -0300 Subject: [PATCH] remove remote.tff from inside module --- .../modules/ml_single_project/remote.tf | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 4-projects/modules/ml_single_project/remote.tf diff --git a/4-projects/modules/ml_single_project/remote.tf b/4-projects/modules/ml_single_project/remote.tf deleted file mode 100644 index 1b2d3c5e..00000000 --- a/4-projects/modules/ml_single_project/remote.tf +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -locals { - environment_kms_project_id = try(data.terraform_remote_state.environments_env.outputs.env_kms_project_id, "") -} - -data "terraform_remote_state" "environments_env" { - backend = "gcs" - - config = { - bucket = var.remote_state_bucket - prefix = "terraform/environments/${var.environment}" - } -} -