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

Support for Grafana version as argument in azurerm_dashboard_grafana #23666

Closed
1 task done
pondichys opened this issue Oct 24, 2023 · 3 comments · Fixed by #24014
Closed
1 task done

Support for Grafana version as argument in azurerm_dashboard_grafana #23666

pondichys opened this issue Oct 24, 2023 · 3 comments · Fixed by #24014

Comments

@pondichys
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Description

It is currently possible to choose the version of Grafana when deploying an Azure Managed Grafana workspace through the Azure Portal. Possible options are 9 or 10.
The current azurerm_dashboard_grafana resource exposes the grafana_version as an attribute only and not as an argument. This means that we currently cannot deploy version 10 with Terraform.

New or Affected Resource(s)/Data Source(s)

azurerm_dashboard_grafana

Potential Terraform Configuration

resource "azurerm_dashboard_grafana" "this" {
  name                              = "myGrafana"
  resource_group_name               = "rg-mygrafana"
  location                          = "westeurope"
  grafana_version                   = "10"
}

References

No response

@ppodevlabs
Copy link

while this get done you can use azapi provider to create and define the version

@djryanj
Copy link
Contributor

djryanj commented Nov 17, 2023

@pondichys I've just submitted a PR that should add this, except the property is called grafana_major_version instead of grafana_version since that's what the underlying API wants (grafana_version is actually a read-only attribute, where grafana_major_version is the one you can set).

Copy link

github-actions bot commented May 1, 2024

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.