Skip to content
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

Increase Statefile Size #199

Closed
sham-github opened this issue May 17, 2021 · 1 comment
Closed

Increase Statefile Size #199

sham-github opened this issue May 17, 2021 · 1 comment

Comments

@sham-github
Copy link

Hi Team,

we are using Grafana provider to create our dashboards but getting below error after creating a significant number of dashboards.

Error: rpc error: code = ResourceExhausted...
Error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4307026 vs. 4194304)

we are using Azure RM as backend, and we don't see any compress feature for terraform statefile in our case of Azure which is there for AWS/Consul.

This is a must needed feature since Grafana dashboards are supposed to be large and if we are managing by terraform then the provider also should work accordingly.

@julienduchesne
Copy link
Member

I don't believe we can increase the statefile size. That ResourceExhausted error is probably an internal Terraform error from communicating between the main CLI and the plugin (provider)

However, a store_dashboard_sha256 provider option was added in v1.20.0 that, if toggled, will only save a sha256 of the dashboard's content to state instead of the whole json. I will therefore consider this issue completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants