mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
08b2ab5c18
* update deployment guide and add additional descriptions/comments for terraform resources * add architecture diagram to deployment guide
33 lines
577 B
HCL
33 lines
577 B
HCL
provider "aws" {
|
|
region = var.region
|
|
}
|
|
|
|
|
|
provider "tls" {
|
|
# Configuration options
|
|
}
|
|
|
|
|
|
terraform {
|
|
// these values should match what is bootstrapped in ./remote-state
|
|
backend "s3" {
|
|
bucket = "fleet-terraform-remote-state"
|
|
region = "us-east-2"
|
|
key = "fleet"
|
|
dynamodb_table = "fleet-terraform-state-lock"
|
|
}
|
|
required_providers {
|
|
aws = {
|
|
source = "hashicorp/aws"
|
|
version = "4.32.0"
|
|
}
|
|
|
|
tls = {
|
|
source = "hashicorp/tls"
|
|
version = "3.3.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
data "aws_caller_identity" "current" {}
|