description
enable a environment {} block on the keycloack resource
what this wil solve
by declaring env vars inside the tf files, we avoid manipulation in the console and automate more (the whole purpose of iac)
proposal
following what exists on Docker
one could declare (e.g.):
resource "clevercloud_addon" "keycloak" {
name = "keycloak-auth"
plan = "base"
region = var.region
third_party_provider = "keycloak"
# proposal
environment = {
CC_KEYCLOAK_REALMS = "prod-realm, staging-realm"
}
}
description
enable a environment {} block on the keycloack resource
what this wil solve
by declaring env vars inside the tf files, we avoid manipulation in the console and automate more (the whole purpose of iac)
proposal
following what exists on Docker
one could declare (e.g.):