mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
more aws config changes
This commit is contained in:
parent
6b37ba13c9
commit
8585574100
@ -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" {
|
||||||
|
Loading…
Reference in New Issue
Block a user