grafana / crossplane-provider-grafana

Crossplane provider of https://github.com/grafana/terraform-provider-grafana. Generated by https://github.com/upbound/upjet
Apache License 2.0
25 stars 13 forks source link

failed to create the resource: [{0 the Cloud API client is required for this resource. Set the cloud_access_policy_token provider attribute []}]", "errorVerbose": "failed to create the resource: [{0 the Cloud API client is required for this resource. Set the cloud_access_policy_token provider attribute #120

Closed mikebryant closed 3 months ago

mikebryant commented 3 months ago

I've tried to follow the example

But getting: failed to create the resource: [{0 the Cloud API client is required for this resource. Set the cloud_access_policy_token provider attribute []}]", "errorVerbose": "failed to create the resource: [{0 the Cloud API client is required for this resource. Set the cloud_access_policy_token provider attribute when it tries to create the StackServiceAccount

It looks like the provider config isn't being set for this var

mikebryant commented 3 months ago

I was able to get it working using this instead:

stringData:
  credentials: |
    {
      "cloud_api_key": "glc_..."
    }