Organization - observe failed 403
ampc opened this issue · 2 comments
ampc commented
I'm facing the current issue:
- Create a new Organization
- Org created with success on Grafana
- Restart Grafana Pod
- Organization is deleted
- Crossplane tries to reconcile and returns this error:
Organization:
apiVersion: oss.grafana.crossplane.io/v1alpha1
kind: Organization
metadata:
name: grafana-org
spec:
providerConfigRef:
name: grafana-provider-config
forProvider:
name: "Example Crossplane Orgbatatas"
adminUser: admin
createUsers: false
admins:
- antonio.carvalho@example.com
Sometimes I also get this error:
lastTransitionTime: "2024-01-22T17:47:02Z"
message: 'observe failed: cannot run plan: plan failed: Instance cannot be destroyed:
Resource grafana_organization.grafana-org has lifecycle.prevent_destroy set,
but the plan calls for this resource to be destroyed. To avoid this error and
continue with the plan, either disable lifecycle.prevent_destroy or reduce the
scope of the plan using the -target flag.'
version:v0.9.0
davidgiga1993 commented
Got exactly the same error message (has lifecycle.prevent_destroy set
) when trying to recreate or update an existing org. This also prevents updating any other organizations, effectively blocking the entire provider.
julienduchesne commented
This should work now with the latest version!