diff options
Diffstat (limited to 'ops/glesys/main.tf')
-rw-r--r-- | ops/glesys/main.tf | 46 |
1 files changed, 38 insertions, 8 deletions
diff --git a/ops/glesys/main.tf b/ops/glesys/main.tf index 857c1677fb..ec6bb7c397 100644 --- a/ops/glesys/main.tf +++ b/ops/glesys/main.tf @@ -12,14 +12,18 @@ terraform { } backend "s3" { - endpoint = "https://objects.dc-sto1.glesys.net" - bucket = "tvl-state" - key = "terraform/tvl-glesys" - region = "glesys" + endpoints = { + s3 = "https://objects.dc-sto1.glesys.net" + } + bucket = "tvl-state" + key = "terraform/tvl-glesys" + region = "glesys" skip_credentials_validation = true skip_region_validation = true skip_metadata_api_check = true + skip_requesting_account_id = true + skip_s3_checksum = true } } @@ -35,10 +39,6 @@ resource "glesys_objectstorage_instance" "tvl-backups" { resource "glesys_objectstorage_instance" "tvl-state" { description = "tvl-state" datacenter = "dc-sto1" - - lifecycle { - ignore_changes = [accesskey] - } } resource "glesys_objectstorage_credential" "terraform-state" { @@ -60,3 +60,33 @@ variable "whitby_ipv6" { type = string default = "2a01:4f8:242:5b21:0:feed:edef:beef" } + +variable "sanduny_ipv4" { + type = string + default = "85.119.82.231" +} + +variable "sanduny_ipv6" { + type = string + default = "2001:ba8:1f1:f109::feed:edef:beef" +} + +locals { + # Hostnames of all public services on whitby + whitby_services = [ + "at", + "atward", + "auth", + "b", + "cache", + "cl", + "code", + "cs", + "deploys", + "images", + "signup", + "static", + "status", + "todo", + ] +} |