Skip to content

Commit 15e359c

Browse files
committed
renamed to extra role mappings
1 parent 568c7c2 commit 15e359c

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

packages/infrastructure/mongodb_atlas_identity_provider/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ locals {
2323

2424
# Filter out keys that attempt to override default mappings
2525
allowed_custom_mappings = {
26-
for key, roles in var.custom_role_mappings :
26+
for key, roles in var.extra_role_mappings :
2727
key => roles if !contains(keys(local.default_role_mappings), key)
2828
}
2929

packages/infrastructure/mongodb_atlas_identity_provider/vars.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ variable "name" {
5959
default = "Panfactum Authentik Integration"
6060
}
6161

62-
variable "custom_role_mappings" {
62+
variable "extra_role_mappings" {
6363
description = "Additional role mappings to extend the default local mappings"
6464
type = map(list(string))
6565
default = {}

packages/reference/environments/production/us-east-2/mongodb_atlas_identity_provider/.terraform.lock.hcl

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/reference/environments/production/us-east-2/mongodb_atlas_identity_provider/terragrunt.hcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ inputs = {
2020
sso_url = dependency.authentik_atlas_mongodb_sso.outputs.url_sso_post
2121

2222
associated_domains = ["panfactum.com"]
23+
sso_debug_enabled = false # set this to true while setting up the integration for the first time
2324
}

0 commit comments

Comments
 (0)