Skip to content

enh: support environment block on keycloack resource #341

Description

@MathFrenchToast

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"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions