Skip to content

Commit

Permalink
Prepare for use of GA in multi-site post stack
Browse files Browse the repository at this point in the history
  • Loading branch information
bdd4329 committed Sep 2, 2024
1 parent 830d20c commit 65cf30e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 231 deletions.
2 changes: 1 addition & 1 deletion certs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ locals {
var.site_settings.top_level_domain == "" || var.deployment != "prod" ? [] : [var.site_settings.top_level_domain],
var.site_settings.additional_domains == null ? tolist([]) : (var.deployment != "prod" ? tolist([]) : tolist(var.site_settings.additional_domains)),
# This is for the optional global accelerator
var.global_accelerator_source == "" ? [] : [var.global_accelerator_source],
try(var.site_settings.global_accelerator, "") == "" ? [] : [var.site_settings.global_accelerator],
try(var.site_settings.additional_certs, var.additional_certs)
))

Expand Down
223 changes: 0 additions & 223 deletions ga.tf

This file was deleted.

20 changes: 13 additions & 7 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,23 @@ variable "error_response_404_path" {
# default = false
#}

variable "global_accelerator_source" {
description = "The source address for the global accelerator (i.e., tamu.edu). Leave blank to not use a GA"
variable "global_accelerator" {
description = "The FQDN for the global accelerator (i.e., tamu.edu) certificate. Leave blank to not generate a cert"
type = string
default = ""
}

variable "global_accelerator_target" {
description = "The target address for the global accelerator (i.e., www.tamu.edu). Leave blank to not use a GA"
type = string
default = ""
}
#variable "global_accelerator_source" {
# description = "The source address for the global accelerator (i.e., tamu.edu). Leave blank to not use a GA"
# type = string
# default = ""
#}
#
#variable "global_accelerator_target" {
# description = "The target address for the global accelerator (i.e., www.tamu.edu). Leave blank to not use a GA"
# type = string
# default = ""
#}

variable "html_ttl" {
type = number
Expand Down

0 comments on commit 65cf30e

Please sign in to comment.