Skip to content

Commit

Permalink
Merge pull request #5 from devil-mice-labs/make-installation-id-string
Browse files Browse the repository at this point in the history
Make installation id string
  • Loading branch information
olliefr authored May 16, 2023
2 parents d2536c6 + 066d2e8 commit b42195b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 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
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
variable "github_app_installation_id" {
description = "The installation ID of the GitHub App"
type = number
type = string
}

variable "organization" {
Expand Down

0 comments on commit b42195b

Please sign in to comment.