Skip to content

Commit 6d7fea9

Browse files
committed
Update GitHub App ID and Installation ID types to string
1 parent ba56b45 commit 6d7fea9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/provider-github.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ variable "github_app_enabled" {
2525
}
2626

2727
variable "github_app_id" {
28-
type = number
28+
type = string
2929
description = "The ID of the GitHub App to use for authentication"
3030
default = null
3131
}
3232

3333
variable "github_app_installation_id" {
34-
type = number
34+
type = string
3535
description = "The Installation ID of the GitHub App to use for authentication"
3636
default = null
3737
}

src/resources/argocd-values.yaml.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ server:
9191
name: argocd-repo-creds-${name}
9292
key: sshPrivateKey
9393
%{ else ~}
94-
githubAppID: ${github_app_id}
95-
githubAppInstallationID: ${github_app_installation_id}
94+
githubAppID: ${tonumber(github_app_id)}
95+
githubAppInstallationID: ${tonumber(github_app_installation_id)}
9696
githubAppPrivateKeySecret:
9797
name: argocd-repo-creds-${name}
9898
key: githubAppPrivateKey

src/variables-argocd-notifications.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ variable "github_notifications_app_enabled" {
1212
}
1313

1414
variable "github_notifications_app_id" {
15-
type = number
15+
type = string
1616
description = "The ID of the GitHub App to use for notifications authentication"
1717
default = null
1818
}
1919

2020
variable "github_notifications_app_installation_id" {
21-
type = number
21+
type = string
2222
description = "The Installation ID of the GitHub App to use for notifications authentication"
2323
default = null
2424
}

0 commit comments

Comments
 (0)