tofu-module-aws-iam-role/infrastructure/tofu/providers.tf
Julien Dessaux 757343409e
All checks were successful
main / test (push) Successful in 48s
chore(infrastructure): bootstrap CI
2025-04-12 07:56:07 +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"
}