Skip to content

Bug: Missing Policy Rules in Terraform Export #130

Description

@daveads

Problem
Terraform export only generates roles and resource sets but missing the actual permitio_condition_set_rule resources that represent checked permissions in the policy matrix.

Expected Output
Should include rules like:

resource "permitio_condition_set_rule" "allow_member_to_make_changes_in_region" {
  user_set     = "member"
  resource_set = "No_approval_In_Region_Change"
  permission   = "change:make"
  depends_on   = [permitio_role.member, permitio_resource_set.No_approval_In_Region_Change]
}

Impact
Policy exports are incomplete and cannot be properly imported.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions