From 858557410011239c434a6533ce699084d2b31142 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 24 Mar 2024 14:39:18 -0400 Subject: [PATCH] more aws config changes --- hosts/arrow/main.tf | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/hosts/arrow/main.tf b/hosts/arrow/main.tf index 5eed978..31590db 100644 --- a/hosts/arrow/main.tf +++ b/hosts/arrow/main.tf @@ -34,10 +34,10 @@ terraform { # image_file = one(fileset(path.root, "result/iso/nixos.iso")) # } -variable "cloudflare_r2_endpoint" { - type = string - description = "Domain for the Cloudflare R2 endpoint" -} +# variable "cloudflare_r2_endpoint" { +# type = string +# description = "Domain for the Cloudflare R2 endpoint" +# } variable "vultr_api_key" { type = string @@ -46,15 +46,11 @@ variable "vultr_api_key" { } provider "aws" { - region = "us-east-1" - + region = "auto" skip_credentials_validation = true + skip_metadata_api_check = true skip_region_validation = true skip_requesting_account_id = true - - endpoints { - s3 = "https://${var.cloudflare_r2_endpoint}" - } } provider "vultr" {