Skip to content

Commit

Permalink
Uncomment variables and providers
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzatron committed Oct 13, 2023
1 parent 8237fae commit fec74e8
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 29 deletions.
24 changes: 24 additions & 0 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions provider.tf
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# terraform {
# required_providers {
# github = {
# source = "integrations/github"
# version = "~> 5.0"
# }
# }
# }
terraform {
required_providers {
github = {
source = "integrations/github"
version = "~> 5.0"
}
}
}

# provider "github" {
# owner = module.constants.org
provider "github" {
owner = module.constants.org

# app_auth {
# id = var.GITHUB_APP_ID
# installation_id = var.GITHUB_APP_INSTALLATION_ID
# pem_file = var.GITHUB_APP_PEM_FILE
# }
# }
app_auth {
id = var.GITHUB_APP_ID
installation_id = var.GITHUB_APP_INSTALLATION_ID
pem_file = var.GITHUB_APP_PEM_FILE
}
}
26 changes: 13 additions & 13 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# module "constants" {
# source = "./modules/constants"
# }
module "constants" {
source = "./modules/constants"
}

# variable "GITHUB_APP_ID" {
# type = string
# }
variable "GITHUB_APP_ID" {
type = string
}

# variable "GITHUB_APP_INSTALLATION_ID" {
# type = string
# }
variable "GITHUB_APP_INSTALLATION_ID" {
type = string
}

# variable "GITHUB_APP_PEM_FILE" {
# type = string
# sensitive = true
# }
variable "GITHUB_APP_PEM_FILE" {
type = string
sensitive = true
}

0 comments on commit fec74e8

Please sign in to comment.