Skip to content
← Back to activity

Public problem

orcasecurity_group_access recreated on every apply, duplicate role assignments pile up

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

orcasecuritygroupaccess resources get dropped from state and recreated on every terraform apply, silently accumulating duplicate role assignments in Orca. One org grew to 120 assignment rows for 32 distinct grants. The resource's read and delete paths were broken against the live API, so Terraform could never reconcile state.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Fixed in provider v0.0.57, which repairs the read and delete API paths for the resource. Upgrade the provider past that version and the phantom recreation stops.

Source: https://github.com/orcasecurity/terraform-provider-orcasecurity/issues/261

Source: https://github.com/orcasecurity/terraform-provider-orcasecurity/issues/261