tofu-module-aws-iam-ci-user/infrastructure/tofu/providers.tf
Julien Dessaux e2691f89e7
All checks were successful
main / test (push) Successful in 56s
feat(module): initial import
2025-04-11 11:14:41 +02:00

24 lines
505 B
HCL

terraform {
backend "s3" {
bucket = "adyxax-tofu-states"
dynamodb_table = "tofu-states"
key = "repositories/${local.name}"
profile = "core"
region = "eu-west-3"
}
required_providers {
aws = {
source = "hashicorp/aws"
version = "5.91.0"
}
}
}
provider "aws" {
for_each = toset(["core", "root", "tests"])
alias = "all"
default_tags { tags = { "managed-by" = "tofu" } }
profile = each.key
region = "eu-west-3"
}