Skip to content

Commit 39ffd51

Browse files
committed
eli-375 bugfix - github secrets are in upper case, so need to assign vars accordingly
1 parent 8a677c9 commit 39ffd51

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

infrastructure/stacks/api-layer/ssm.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ resource "aws_ssm_parameter" "splunk_hec_token" {
5858
description = "Splunk HEC token"
5959
type = "SecureString"
6060
key_id = aws_kms_key.splunk_hec_kms.id # Will migrate to customer key after initial creation
61-
value = var.splunk_hec_token
61+
value = var.SPLUNK_HEC_TOKEN
6262
tier = "Advanced"
6363

6464
tags = {
@@ -78,7 +78,7 @@ resource "aws_ssm_parameter" "splunk_hec_endpoint" {
7878
description = "Splunk HEC endpoint"
7979
type = "SecureString"
8080
key_id = aws_kms_key.splunk_hec_kms.id
81-
value = var.splunk_hec_endpoint
81+
value = var.SPLUNK_HEC_ENDPOINT
8282
tier = "Advanced"
8383

8484
tags = {

infrastructure/stacks/api-layer/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
variable "splunk_hec_token" {
1+
variable "SPLUNK_HEC_TOKEN" {
22
type = string
33
description = "The HEC token for ITOC splunk"
44
sensitive = true
55
}
6-
variable "splunk_hec_endpoint" {
6+
variable "SPLUNK_HEC_ENDPOINT" {
77
type = string
88
description = "The HEC endpoint url for ITOC splunk"
99
sensitive = true

0 commit comments

Comments
 (0)