Skip to content

Commit

Permalink
Get installation ID of GitHub App
Browse files Browse the repository at this point in the history
  • Loading branch information
olliefr committed May 16, 2023
1 parent ef6eb90 commit 066d2e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions data.tf
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 066d2e8

Please sign in to comment.