cdh-terraform/apps/cdh-maas/main/backend.tf

29 lines
503 B
HCL

provider "aws" {
region = var.region
profile = var.profile
assume_role {
role_arn = var.role_arn
}
default_tags {
tags = {
BMW-Application = var.project
BMW-Environment = var.environment
BMW-Region = var.region
BMW-Function = var.main_module
BMW-ManagedBY = "Terraform"
}
}
}
terraform {
required_version = ">= 1.1.0 "
backend "s3" {}
required_providers {
aws = {
source = "aws"
version = ">= 4.26.0"
}
}
}