diff options
Diffstat (limited to 'ops/glesys/main.tf')
-rw-r--r-- | ops/glesys/main.tf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ops/glesys/main.tf b/ops/glesys/main.tf index 202fe2ff5ec7..4e9c8de1f824 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" +} |