infra/infra/new-project/backend.tf
2024-02-18 19:26:27 -08:00

35 lines
593 B
HCL

terraform {
required_version = ">= 0.13"
backend s3 {
bucket = "project-athens"
key = "infra/new-project/state/build.tfstate"
region = var.aws_region
encrypt = true
}
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
vultr = {
source = "vultr/vultr"
version = "2.19.0"
}
}
}
provider vultr {
api_key = var.vultr_api_key
rate_limit = 100
retry_limit = 3
}
provider aws {
access_key = var.aws_key
secret_key = var.aws_secret
region = var.aws_region
max_retries = 1
}