chore(infrastructure): bootstrap CI
All checks were successful
main / test (push) Successful in 48s

This commit is contained in:
Julien Dessaux 2025-04-12 07:56:07 +02:00
parent 441295d140
commit 757343409e
Signed by: adyxax
GPG key ID: F92E51B86E07177E
6 changed files with 96 additions and 0 deletions

View file

@ -0,0 +1,24 @@
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"
}