-
Notifications
You must be signed in to change notification settings - Fork 9k
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
[Bug]: New, undocumented response from the Managed Grafana API #34417
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
I can reproduce in acceptance tests: % make testacc TESTARGS='-run=TestAccGrafana_serial/Workspace/configuration' PKG=grafana
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/grafana/... -v -count 1 -parallel 20 -run=TestAccGrafana_serial/Workspace/configuration -timeout 360m
=== RUN TestAccGrafana_serial
=== PAUSE TestAccGrafana_serial
=== CONT TestAccGrafana_serial
=== RUN TestAccGrafana_serial/Workspace
=== RUN TestAccGrafana_serial/Workspace/configuration
workspace_test.go:446: Step 1/3 error: Check failed: 1 error occurred:
* Check 2/2 error: aws_grafana_workspace.test: Attribute 'configuration' expected "{\"unifiedAlerting\":{\"enabled\":true}}", got "{\"unifiedAlerting\":{\"enabled\":true},\"plugins\":{\"pluginAdminEnabled\":false}}"
--- FAIL: TestAccGrafana_serial (310.45s)
--- FAIL: TestAccGrafana_serial/Workspace (310.45s)
--- FAIL: TestAccGrafana_serial/Workspace/configuration (310.45s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/grafana 315.995s
FAIL
make: *** [testacc] Error 1 |
Grafana community plugins announcement. |
I have verified that after the GA of the plugins functionality you can add JSON like "plugins": {"pluginAdminEnabled": false} to |
This functionality has been released in v5.26.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Core Version
1.5.5,1.5.7
AWS Provider Version
5.23.1
Affected Resource(s)
aws_grafana_workspace
Expected Behavior
No drift when no changes have been made
Actual Behavior
Persistent drift for the
configuration
argument. TheDescribeWorkspaceConfiguration
API action now responds with additional JSON fields:It appears that the new field is always
false
and there is no corresponding setting in the console for this new option.Also, applying the drift (i.e. calling
UpdateWorkspaceConfiguration
with thew new field) "updates" the workspace, but does not actually change anything; the drift continues to appear in subsequent plans.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
n/a
Steps to Reproduce
nothing, just plan your
aws_grafana_workspace
after todayDebug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: