Skip to content

Security Policy Resource Group is not set properly #160

@xomgc3

Description

@xomgc3

When specifying a resource_group for an oktapam_security_policy, it's ignored and the policy is applied to all resource groups.

resource "oktapam_security_policy" "admin" {
  name   = "${var.group_name} - Admin"
  active = true
  description = "Server Admins for ${var.group_name} Environments"
  principals {
    groups = [
      data.oktapam_group.admin.id
    ]
  }
  resource_group = oktapam_resource_group.this.id
  # ...

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