more aws config changes

This commit is contained in:
Noah Masur 2024-03-24 14:39:18 -04:00
parent 6b37ba13c9
commit 8585574100

View File

@ -34,10 +34,10 @@ terraform {
# image_file = one(fileset(path.root, "result/iso/nixos.iso")) # image_file = one(fileset(path.root, "result/iso/nixos.iso"))
# } # }
variable "cloudflare_r2_endpoint" { # variable "cloudflare_r2_endpoint" {
type = string # type = string
description = "Domain for the Cloudflare R2 endpoint" # description = "Domain for the Cloudflare R2 endpoint"
} # }
variable "vultr_api_key" { variable "vultr_api_key" {
type = string type = string
@ -46,15 +46,11 @@ variable "vultr_api_key" {
} }
provider "aws" { provider "aws" {
region = "us-east-1" region = "auto"
skip_credentials_validation = true skip_credentials_validation = true
skip_metadata_api_check = true
skip_region_validation = true skip_region_validation = true
skip_requesting_account_id = true skip_requesting_account_id = true
endpoints {
s3 = "https://${var.cloudflare_r2_endpoint}"
}
} }
provider "vultr" { provider "vultr" {