From 066d2e8335c99886f96031d2ad21775d1e66f56c Mon Sep 17 00:00:00 2001 From: Oliver Frolovs Date: Wed, 17 May 2023 00:47:38 +0100 Subject: [PATCH] Get installation ID of GitHub App --- data.tf | 4 ---- main.tf | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/data.tf b/data.tf index 84f93dc..1b5444f 100644 --- a/data.tf +++ b/data.tf @@ -1,7 +1,3 @@ -data "tfe_github_app_installation" "current" { - installation_id = var.github_app_installation_id -} - data "tfe_workspace" "current" { name = var.TFC_WORKSPACE_NAME organization = var.organization diff --git a/main.tf b/main.tf index 07fc4c7..14ee213 100644 --- a/main.tf +++ b/main.tf @@ -24,7 +24,7 @@ resource "tfe_workspace" "workspace" { vcs_repo { identifier = local.vcs_identifier - github_app_installation_id = data.tfe_github_app_installation.current.id + github_app_installation_id = var.github_app_installation_id } }