Skip to content

Commit 21ec981

Browse files
committed
feat: working tf plana
1 parent dd8831b commit 21ec981

File tree

5 files changed

+4
-9
lines changed

5 files changed

+4
-9
lines changed

infra/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,3 @@ fmt:
55
.PHONY: check
66
check:
77
@terraform validate
8-
9-
.PHONY: yolo
10-
yolo:
11-
@echo "Wise, you are not..."
12-
@terraform apply -auto-approve

infra/cdn/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module "fastly_production" {
3434
datadog_key = var.DATADOG_API_KEY
3535
fastly_key = var.FASTLY_API_KEY
3636
fastly_header_token = var.FASTLY_HEADER_TOKEN
37-
fastly_s3_logging = var.fastly_s3_logging
37+
s3_logging_keys = var.fastly_s3_logging
3838
}
3939
```
4040

infra/cdn/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ resource "fastly_service_vcl" "python_org" {
4545
ssl_check_cert = true
4646
ssl_cert_hostname = "lb.psf.io"
4747
ssl_sni_hostname = "lb.psf.io"
48-
ssl_ca_cert = file("${path.module}/cdn/certs/psf.io.pem")
48+
ssl_ca_cert = file("${path.module}/certs/psf.io.pem")
4949
weight = 100
5050
max_conn = 200
5151
connect_timeout = 1000

infra/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module "fastly_production" {
1616
module "fastly_staging" {
1717
source = "./cdn"
1818

19-
name = "test.Python.org"
19+
name = "test.python.org"
2020
domain = "test.python.org"
2121
extra_domains = []
2222
# TODO: adjust to test-pythondotorg when done testing NGWAF

infra/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ variable "DATADOG_API_KEY" {
1414
sensitive = true
1515
}
1616
variable "fastly_s3_logging" {
17-
type = string
17+
type = map(string)
1818
description = "S3 bucket keys for Fastly logging"
1919
sensitive = true
2020
}

0 commit comments

Comments
 (0)