diff --git a/tf/production/.terraform.lock.hcl b/tf/production/.terraform.lock.hcl index 46205b9..2cc4122 100644 --- a/tf/production/.terraform.lock.hcl +++ b/tf/production/.terraform.lock.hcl @@ -24,24 +24,6 @@ provider "registry.opentofu.org/cloudflare/cloudflare" { ] } -provider "registry.opentofu.org/hashicorp/aws" { - version = "5.53.0" - constraints = ">= 2.7.0" - hashes = [ - "h1:pve5w3AscKR4gqRJF/3L7pKhj1leqGTl8Yv90Oyl8ww=", - "zh:72f68a0c67fbd8db81debdf4458cc8429e5ae610d860bb9c72d54c2d55fd9168", - "zh:787576cc5ff7978954eb1953c0643407742ed5200e76a5c57865f0063567b130", - "zh:97209aa1a5c3d998b7ea562b3a4d6a11f5739d17317f78a31e83fb0cbc441572", - "zh:9cadbb5a4f378124b93443b1763d786504a5c34e0f6f43894b919da1ba46eed8", - "zh:ad0d3c6fdb5028c6a72bec03c56c7b32181e30d2803772250c7a65cf9fde0273", - "zh:ad4b134efcebc596e9f7d2fa12b57240e5241bc02ab68cf00eccf7d68315c3e4", - "zh:d03ebdb393df93648261b736967907c90197239e6a267d29e41ccc0053ac5b5d", - "zh:ed718a99f0abbb04e222530f9f5903d7c2ad5ed354402759245fb8ded968b13f", - "zh:f25027ad5e8d41a8886a0d6add5409713823a298af1a3f91215b299ba6fdd23f", - "zh:f5a625723196d885a37c0ab422d8589ce02245a0b7ec8c4f12f7889b7ad98425", - ] -} - provider "registry.opentofu.org/hashicorp/external" { version = "2.3.3" hashes = [ diff --git a/tf/production/backend.tf b/tf/production/backend.tf index 1036821..6e7b497 100644 --- a/tf/production/backend.tf +++ b/tf/production/backend.tf @@ -1,9 +1,5 @@ terraform { - backend "s3" { - bucket = "darklab-eu-west-1-global-terraform-state" - dynamodb_table = "darklab-eu-west-1-global-terraform-state" - encrypt = true - key = "darkbot.production.tfstate" - region = "eu-west-1" + backend "local" { + path = "/home/naa/repos/pet_projects/darklab_secrets/encrypted/terraform/darkbot/production/terraform.tfstate" } } diff --git a/tf/production/providers.tf b/tf/production/providers.tf index 3d0ba8b..eaef49e 100644 --- a/tf/production/providers.tf +++ b/tf/production/providers.tf @@ -4,10 +4,6 @@ terraform { source = "hetznercloud/hcloud" version = ">=1.45.0" } - aws = { - source = "hashicorp/aws" - version = ">=2.7.0" - } cloudflare = { source = "cloudflare/cloudflare" version = ">=3.7.0"