Skip to content

Commit 2afd560

Browse files
committed
fix: remove old key
1 parent ab14d51 commit 2afd560

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

infra/cdn.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ resource "fastly_service_vcl" "cdn" {
187187
regex = null
188188
request_condition = null
189189
response_condition = null
190-
source = "\"bRMyYFEUAtTGmomMj7LKDRFdtGg4cLJXQGPjMYqRiLjLdtewyB\""
190+
source = var.FASTLY_HEADER_TOKEN
191191
substitution = null
192192
type = "request"
193193
}

infra/terraform.tfvars.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ AWS_ACCESS_KEY_ID = "NotARealKey"
22
AWS_SECRET_ACCESS_KEY = "NotARealKey"
33

44
NGWAF_TOKEN = "NotARealKey"
5-
FASTLY_API_KEY = "NotARealKey"
5+
FASTLY_API_KEY = "NotARealKey"
6+
FASTLY_HEADER_TOKEN = ""

infra/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ variable "FASTLY_API_KEY" {
33
type = string
44
description = "API key for the Fastly VCL edge configuration."
55
}
6+
variable "FASTLY_HEADER_TOKEN" {
7+
description = "Fastly Token for authentication"
8+
type = string
9+
sensitive = true
10+
}
611

712
# VCL Service variables
813
variable "USER_VCL_SERVICE_DOMAIN_NAME" {

0 commit comments

Comments
 (0)