Open Yoyada89 opened 3 years ago
Hi there,
I'm trying to create the custom role, but there are some rights missing. There are more rights supported with the API calls than with the provider.
0.14.6 provider registry.terraform.io/opsgenie/opsgenie v0.6.2
opsgenie_custom_role
resource "opsgenie_custom_role" "test" { role_name = "TEST" extended_role = "user" granted_rights = [ "profile-custom-fields-edit", "postmortem-delete", "delete-incident-command-center-room", "incident-delete", "edit-incident-command-center-room", "incident-commander", "alert-action", "alert-delete", "incident-action", "logs-page-access", "incident-timeline-delete", "reports-access" ] disallowed_rights = [ "access-icc-past-sessions", "configurations-read-only", "alerts-access-all", "forwardings-edit", "incidents-access-all", "assign-response-role", "maintenance-edit", "billing-manage", "service-send-status-update", "configurations-delete", "configurations-edit" ] }
The custom role with the proper rights is created.
Some rights are missing in validCustomRolesRights list.
terraform apply
after more than 2 years still the same issue.
Hi there,
I'm trying to create the custom role, but there are some rights missing. There are more rights supported with the API calls than with the provider.
Terraform Version
0.14.6 provider registry.terraform.io/opsgenie/opsgenie v0.6.2
Affected Resource(s)
opsgenie_custom_role
Terraform Configuration Files
resource "opsgenie_custom_role" "test" { role_name = "TEST" extended_role = "user" granted_rights = [ "profile-custom-fields-edit", "postmortem-delete", "delete-incident-command-center-room", "incident-delete", "edit-incident-command-center-room", "incident-commander", "alert-action", "alert-delete", "incident-action", "logs-page-access", "incident-timeline-delete", "reports-access" ] disallowed_rights = [ "access-icc-past-sessions", "configurations-read-only", "alerts-access-all", "forwardings-edit", "incidents-access-all", "assign-response-role", "maintenance-edit", "billing-manage", "service-send-status-update", "configurations-delete", "configurations-edit" ] }
Expected Behavior
The custom role with the proper rights is created.
Actual Behavior
Some rights are missing in validCustomRolesRights list.
Steps to Reproduce
terraform apply