✨ feat(deploy): iac/ Vault provisioning + workflow (uses app_roles module from tools)
This commit is contained in:
17
iac/providers.tf
Normal file
17
iac/providers.tf
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user