-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df5aa00
commit d565253
Showing
17 changed files
with
164 additions
and
120 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
.PHONY: fmt | ||
fmt: | ||
@tf fmt ../**/*.tf | ||
@tf fmt ../**/*.tfvars | ||
@tf fmt ../**/*.tftest.hcl | ||
|
||
.PHONY: check | ||
check: | ||
@tf validate | ||
|
||
.PHONY: yolo | ||
yolo: | ||
@echo "Wise, you are not..." | ||
@tf apply -auto-approve |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,39 @@ | ||
variable "FASTLY_API_KEY" { | ||
variable "fastly_key" { | ||
type = string | ||
description = "API key for the Fastly VCL edge configuration." | ||
} | ||
variable "FASTLY_HEADER_TOKEN" { | ||
description = "Fastly Token for authentication" | ||
variable "fastly_header_token" { | ||
description = "Fastly header token ensure we only allow Fastly to access the service" | ||
type = string | ||
sensitive = true | ||
} | ||
variable "DATADOG_API_KEY" { | ||
variable "datadog_key" { | ||
type = string | ||
description = "API key for Datadog logging" | ||
sensitive = true | ||
} | ||
variable "fastly_s3_logging" { | ||
type = string | ||
description = "S3 bucket keys for Fastly logging" | ||
sensitive = true | ||
} | ||
variable "name" { | ||
type = string | ||
description = "The name of the Fastly service." | ||
} | ||
variable "domain" { | ||
type = string | ||
description = "The domain name of the service." | ||
} | ||
variable "extra_domains" { | ||
type = list(string) | ||
description = "Extra domains to add to the service." | ||
} | ||
variable "backend_address" { | ||
type = string | ||
description = "The hostname of the backend service." | ||
} | ||
variable "default_ttl" { | ||
type = number | ||
description = "The default TTL for the service." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
provider "aws" { | ||
alias = "dns" | ||
region = "us-east-2" | ||
access_key = var.AWS_ACCESS_KEY_ID | ||
secret_key = var.AWS_SECRET_ACCESS_KEY | ||
access_key = var.aws_access_key | ||
secret_key = var.aws_secret_key | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.