Files
factory/iac/providers.tf

34 lines
687 B
HCL

terraform {
required_providers {
gitea = {
source = "go-gitea/gitea"
version = "0.5.1"
}
vault = {
source = "vault"
version = "4.4.0"
}
google = {
source = "google"
version = "7.0.1"
}
}
}
provider "gitea" { # https://registry.terraform.io/providers/go-gitea/gitea/latest/docs
base_url = "https://gitea.arcodange.duckdns.org"
# use GITEA_TOKEN env var
}
provider "vault" {
address = "https://vault.arcodange.duckdns.org"
auth_login_jwt { # TERRAFORM_VAULT_AUTH_JWT environment variable
mount = "gitea_jwt"
role = "gitea_cicd"
}
}
provider "google" {
project = "arcodange"
region = "US-EAST1"
}