Skip to content

Commit

Permalink
Adding no prefix domain
Browse files Browse the repository at this point in the history
  • Loading branch information
mmgcarlos committed Apr 5, 2023
1 parent 19ac0f1 commit a32e4f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions fastly.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module "fastly" {

domain_name = var.fastly_domain
additional_domain_names = var.additional_fastly_domains
domain_no_prefix = var.domain_no_prefix
bare_redirect_domain_name = var.bare_redirect_domain_name
backend_address = module.dns_record.fqdn
env = var.env
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ variable "additional_fastly_domains" {
type = list(string)
}

variable "domain_no_prefix" {
type = string
description = "Domain without env prefix used for supporting legacy domain urls"
default = ""
}

variable "env" {
description = "Environment name"
}
Expand Down

0 comments on commit a32e4f3

Please sign in to comment.