diff --git a/ops/glesys/main.tf b/ops/glesys/main.tf index 202fe2ff5..4e9c8de1f 100644 --- a/ops/glesys/main.tf +++ b/ops/glesys/main.tf @@ -20,3 +20,17 @@ resource "glesys_objectstorage_instance" "tvl-backups" { description = "tvl-backups" datacenter = "dc-sto1" } + +resource "glesys_objectstorage_instance" "tvl-state" { + description = "tvl-state" + datacenter = "dc-sto1" + + lifecycle { + ignore_changes = [ accesskey ] + } +} + +resource "glesys_objectstorage_credential" "terraform-state" { + instanceid = glesys_objectstorage_instance.tvl-state.id + description = "key for terraform state" +}