terraform { required_version = ">= 1.10" required_providers { aws = { source = "hashicorp/aws" version = "~> 6.0" } } # This folder creates the bucket every other folder keeps its state in, so its # own state starts on your machine. Once the bucket exists you can move it in: # uncomment the block, fill in the bucket name from the output, and run # terraform init -migrate-state # # backend "s3" { # bucket = "tfstate-security-prod" # key = "state-backend/terraform.tfstate" # region = "us-east-1" # encrypt = true # use_lockfile = true # } } provider "aws" { default_tags { tags = local.tags } }