-
Notifications
You must be signed in to change notification settings - Fork 255
Data source permissions API endpoint clarification #1198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes, this is the PR that causes the issue: #1133 which was released in v2.6.0. So that's why v2.5.0 works. I will check if we can't test enterprise features on the last major version (v9) as well So for now, you'll have to use v2.5.0 unfortunately |
Thanks, @julienduchesne! Using |
Leave this issue open anyways. I don't think it makes sense to support v9 for OSS but not for enterprise |
I will close this. This is essentially just an Amazon issue (RBAC is disabled: aws/amazon-managed-grafana-roadmap#69). |
Uh oh!
There was an error while loading. Please reload this page.
Terraform Version
v1.5.7
v2.7.0
v9.4.7
(Amazon Managed Grafana Enterprise)Affected Resource(s)
grafana_data_source_permission
Terraform Configuration Files
Pull request ministryofjustice/modernisation-platform-environments#4229
Debug Output
We are working on obtaining this
Panic Output
n/a
Expected Behavior
data source permissions are reconciled as defined in code
Is there a specific version of Grafana's Terraform provider to use against Grafana v9.4.7?
Actual Behavior
Steps to Reproduce
Important Factoids
I would expect to see Grafana provider calling this API https://grafana.com/docs/grafana/v10.1/developers/http_api/datasource_permissions/ which matches AMG's documented API https://docs.aws.amazon.com/grafana/latest/userguide/Grafana-API-DatasourcePermissions.html#Grafana-API-DatasourcePermissions-add, however it is calling the newer API https://grafana.com/docs/grafana/v10.2/developers/http_api/datasource_permissions/
For example, when breaking this down into raw API calls, it works using the older API endpoints
EDIT:
I dropped the provider to
2.4.0
(which was the release before this was added #1106) and it applied. I will try2.5.0
and2.6.0
and try and figure out the diffs between them if a particular version stops workingEDIT 2:
My testing shows that
2.5.0
is the last version this works with,2.6.0
outputReferences
n/a
The text was updated successfully, but these errors were encountered: