Skip to content

Commit

Permalink
fix app ent
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Dec 19, 2024
1 parent db51ef6 commit 0f9e232
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/resources/application_entitlement.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ resource "authentik_application" "name" {
resource "authentik_application_entitlement" "ent" {
name = "test-ent"
application = authentik_application.name.id
application = authentik_application.name.uuid
}
resource "authentik_group" "group" {
name = "test-ent-group"
}
resource "authentik_policy_binding" "test-ent-access" {
target = authentik_application.name.uuid
target = authentik_application_entitlement.ent.uuid
group = authentik_group.group.id
order = 0
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ resource "authentik_application" "name" {

resource "authentik_application_entitlement" "ent" {
name = "test-ent"
application = authentik_application.name.id
application = authentik_application.name.uuid
}

resource "authentik_group" "group" {
name = "test-ent-group"
}

resource "authentik_policy_binding" "test-ent-access" {
target = authentik_application.name.uuid
target = authentik_application_entitlement.ent.uuid
group = authentik_group.group.id
order = 0
}
2 changes: 1 addition & 1 deletion internal/provider/resource_application_entitlement_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ resource "authentik_application" "name" {
resource "authentik_application_entitlement" "ent" {
name = "%[1]s"
application = authentik_application.name.id
application = authentik_application.name.uuid
}
`, name)
}

0 comments on commit 0f9e232

Please sign in to comment.