You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are having a shared Grafana instance with different organisations for teams. I want to create resources (Folders, API Keys, ...) for the different teams in their organisations.
Since most of the resources do not support setting a OrgId on resource level for the currently published version (grafana/provider-grafana:v0.3.0) I am trying to set the org_id at the ProviderConfig level.
status:
atProvider: {}
conditions:
- lastTransitionTime: '2023-03-31T10:31:46Z'
message: >-
connect failed: cannot get terraform setup: cannot unmarshal grafana
credentials as JSON: json: cannot unmarshal number into Go value of type
string
reason: ReconcileError
status: 'False'
type: Synced
When I change the org_id type to a string a Folder resource is successfully created, but always in the main org with id 1 and not in the org specified in the ProviderConfig.
The same seems to be true for boolean flags like insecure_skip_verify. Which cannot be set as boolean in the JSON config but won't work when set as string value.
My secret for the provider config + config itself:
Hey there,
thanks for providing this crossplane provider!
We are having a shared Grafana instance with different organisations for teams. I want to create resources (Folders, API Keys, ...) for the different teams in their organisations.
Since most of the resources do not support setting a OrgId on resource level for the currently published version (grafana/provider-grafana:v0.3.0) I am trying to set the
org_id
at theProviderConfig
level.If I set it as number (as it is typed here: https://registry.terraform.io/providers/grafana/grafana/latest/docs#org_id ), I get the following error while trying to create a
Folder
resource:When I change the
org_id
type to a string aFolder
resource is successfully created, but always in the main org with id 1 and not in the org specified in theProviderConfig
.The same seems to be true for boolean flags like
insecure_skip_verify
. Which cannot be set as boolean in the JSON config but won't work when set as string value.My secret for the provider config + config itself:
Are my assumptions wrong or do you see a error in the configuration?
Thanks for the help and providing this!
The text was updated successfully, but these errors were encountered: