Add admin email variable to tofu

This commit is contained in:
Tobias Reisinger 2025-05-06 02:07:48 +02:00
parent f28e81fc9d
commit 3cb196f8c7
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 14 additions and 4 deletions

View file

@ -8,7 +8,7 @@ resource "scaleway_account_ssh_key" "default" {
}
data "scaleway_iam_user" "serguzim" {
email = "tobias@msrg.cc"
email = var.admin_email
}
resource "scaleway_iam_application" "service_applications" {

View file

@ -1,3 +1,5 @@
variable "admin_email" {}
variable "scaleway_project_id" {
sensitive = true
}

View file

@ -25,7 +25,7 @@ data "authentik_property_mapping_provider_scope" "default_scopes" {
resource "authentik_user" "default" {
username = "serguzim"
name = "Tobias Reisinger"
email = "tobias@msrg.cc"
email = var.admin_email
}
resource "authentik_property_mapping_provider_scope" "minio" {

View file

@ -1,5 +1,6 @@
variable "authentik_url" {
}
variable "admin_email" {}
variable "authentik_url" {}
variable "services" {
type = map(object({