init
This commit is contained in:
commit
97f9a95415
21 changed files with 2963 additions and 0 deletions
28
infra/versions.tf
Normal file
28
infra/versions.tf
Normal file
|
@ -0,0 +1,28 @@
|
|||
terraform {
|
||||
required_version = ">= 1.7.0"
|
||||
required_providers {
|
||||
aws = {
|
||||
source = "hashicorp/aws"
|
||||
version = ">= 5.55"
|
||||
}
|
||||
}
|
||||
|
||||
# S3 backend configuration - uncomment after backend infrastructure is created
|
||||
backend "s3" {
|
||||
bucket = "calculator-127local-net-terraform-state"
|
||||
key = "terraform.tfstate"
|
||||
region = "us-west-2"
|
||||
dynamodb_table = "terraform-state-lock"
|
||||
encrypt = true
|
||||
}
|
||||
}
|
||||
|
||||
provider "aws" {
|
||||
region = var.aws_region
|
||||
}
|
||||
|
||||
# ACM cert for CloudFront must be in us-east-1
|
||||
provider "aws" {
|
||||
alias = "us_east_1"
|
||||
region = "us-east-1"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue