diff --git a/lxc/owncloud/main.tf b/lxc/owncloud/main.tf index 62401d2..2b09337 100644 --- a/lxc/owncloud/main.tf +++ b/lxc/owncloud/main.tf @@ -1,22 +1,4 @@ terraform { - - backend "s3" { - bucket = "terraform" - key = "/terraform.tfstate" - region = "us-east-1" - #encrypt = true - use_lock_file = true # Use S3 native locking (Terraform 1.9.0+) - skip_region_validation = true - skip_credentials_validation = true - skip_requesting_account_id = true - use_path_style = true - skip_s3_checksum = true - skip_metadata_api_check = true - endpoints = { - s3 = "https://misamisa.duckdns.org:9000" - } - } - required_providers { proxmox = { source = "bpg/proxmox" diff --git a/provider.tf b/provider.tf index 6b583d9..58d31f0 100644 --- a/provider.tf +++ b/provider.tf @@ -1,4 +1,20 @@ terraform { + backend "s3" { + bucket = "terraform" + key = "/terraform.tfstate" + region = "us-east-1" + #encrypt = true + use_lock_file = true # Use S3 native locking (Terraform 1.9.0+) + skip_region_validation = true + skip_credentials_validation = true + skip_requesting_account_id = true + use_path_style = true + skip_s3_checksum = true + skip_metadata_api_check = true + endpoints = { + s3 = "https://misamisa.duckdns.org:9000" + } + } required_providers { proxmox = { source = "bpg/proxmox"