feat(deploy): iac/ Vault provisioning + workflow (uses app_roles module from tools)

This commit is contained in:
2026-05-06 13:20:14 +02:00
parent 3be6a2b7ef
commit 8a40d25675
4 changed files with 92 additions and 0 deletions

17
iac/providers.tf Normal file
View File

@@ -0,0 +1,17 @@
terraform {
required_providers {
vault = {
source = "vault"
version = "4.4.0"
}
}
}
provider "vault" {
address = "https://vault.arcodange.lab"
auth_login_jwt {
# TERRAFORM_VAULT_AUTH_JWT environment variable, set by the gitea OIDC step
mount = "gitea_jwt"
role = "gitea_cicd_dance-lessons-coach"
}
}