Closed josemrs closed 6 months ago
It seems I managed to unlock myself. There was a accesspolicies.cloud.grafana.crossplane.io left over.
Also, I forgot to mention, the error was self-referencing provider-grafana-cloud-eaec2240d152 was in an event of the provider-grafana-cloud-eaec2240d152 resource itself.
Access policies were bugged in the previous versions. Now fixed in the latest version. That might be why they were stuck. I'll consider this fixed but please do open a new issue if you encounter issues in the future!
I'm trying to get Crospplane working to help deploying dashboards and Rules. Stacks, tokens and other stuff will be handled by terraform
I deployed Crossplane, DeploymentRuntimeConfig and Provider. It was "working" fine at the beginning. I tried to create a dashboard when I found this issue:
Message: apply failed: the Grafana client is required for
grafana_dashboard. Set the auth and url provider attributes:
While I was messing around to get it working by adding GRAFANA_URL as env for the package-runtime container in the DeploymentRuntimeConfig I end up with:
Message: cannot establish control of object: accesspolicytokens.cloud.grafana.crossplane.io is already controlled by ProviderRevision provider-grafana-cloud-eaec2240d152 (UID 511249f2-fed9-4de1-b0e8-ddf36bf2424d)
It has happened a few other times and I totally removed as much Crossplane as I could and start from scratch. I does not seem to work this time and the error comes back as soon as I deploy the Provider.
What am I doing wrong or missing?
Following the resources I'm deploying: