Skip to content

chore(deps): update terraform grafana to v3

Lama Bot requested to merge renovate/grafana-3.x into main

This MR contains the following updates:

Package Type Update Change
grafana (source) required_provider major 1.43.0 -> 3.2.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

grafana/terraform-provider-grafana (grafana)

v3.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v3.1.0...v3.2.0

v3.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v3.0.0...v3.1.0

v3.0.0

Compare Source

Recommended upgrade procedure

Bump the Terraform provider to the latest v2 version, apply, then upgrade to v3 and remove/replace all the attributes that have been removed.

Major features

Terraform Config Generation (Alpha version)

See the README here.

This is a new tool that will be developed further in future releases. It can be pointed at a Grafana instance or at a Grafana Cloud account and it will find all Grafana provider resources and generate the Terraform config for them.

Example (with the binary from this release):

./terraform-provider-grafana-generate_3.0.0_darwin_arm64 --output-dir test --grafana-auth=admin:admin --grafana-url=http://localhost:3000/
Grafana 11 Support

Some Terraform features had to be removed to enable full Grafana 11 support. All resources should now work with Grafana 11 (Cloud, on-prem Enterprise and on-prem OSS).

Breaking changes

Removed the global (provider-level) org_id setting

Reasons for its removal:

  • The attribute was already added on each resource, so it doesn't remove any functionality
  • It's irrelevant to all parts of the provider other than Grafana resources, possibly causing confusing since there's also an org concept on cloud resources
  • Even for Grafana, it does not apply to all resources. For example, users are not org-scoped. By setting it on a resource level, this is much better defined
  • When using it globally, it prevents looping on multiple orgs. Ex: Create dashboards for a list of orgs. Providers cannot be created dynamically
Removed support for old ID separators (converge on :)

This makes importing resources consistent across all parts of the provider. For example:

terraform import grafana_folder.test orgID:folderUID
terraform import grafana_dashboard.test orgID:dashboardUID
Removed deprecated resources
  • grafana_api_key: Use grafana_service_account instead
  • grafana_cloud_stack_api_key: Use grafana_cloud_stack_service_account instead
  • grafana_cloud_api_key: Use grafana_cloud_access_policy instead
  • grafana_oncall_action : Use grafana_oncall_outgoing_webhook instead
Removed deprecated attributes
  • Removed numerical IDs (of dashboards, folders, datasources) in favour of UIDs
  • grafana_report dashboard definition converged onto a single dashboards {} block
  • cloud_api_key provider attribute: Use cloud_access_policy_token instead

Changelog

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.19.0...v3.0.0

v2.19.2

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.19.1...v2.19.2

v2.19.1

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.19.0...v2.19.1

v2.19.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.18.0...v2.19.0

v2.18.0

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.17.0...v2.18.0

v2.17.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.16.0...v2.17.0

v2.16.0

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.15.0...v2.16.0

v2.15.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.14.3...v2.15.0

v2.14.3

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.14.2...v2.14.3

v2.14.2

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.14.1...v2.14.2

v2.14.1

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.14.0...v2.14.1

v2.14.0

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.13.0...v2.14.0

v2.13.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.12.2...v2.13.0

v2.12.2

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.12.1...v2.12.2

v2.12.1

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.12.0...v2.12.1

v2.12.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.11.0...v2.12.0

v2.11.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.10.0...v2.11.0

v2.10.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.9.0...v2.10.0

v2.9.0

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.8.1...v2.9.0

v2.8.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.8.0...v2.8.1

v2.8.0

Compare Source

What's Changed

Internal Changes

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.7.0...v2.8.0

v2.7.0

Compare Source

What's Changed

Internal Changes

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.6.1...v2.7.0

v2.6.1

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.6.0...v2.6.1

v2.6.0

Compare Source

What's Changed

Internal Changes

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.5.0...v2.6.0

v2.5.0

Compare Source

What's Changed

Internal Changes

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.4.0...v2.5.0

v2.4.0

Compare Source

What's Changed

Internal Changes

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.3.3...v2.4.0

v2.3.3

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.3.2...v2.3.3

v2.3.2

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.3.1...v2.3.2

v2.3.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.3.0...v2.3.1

v2.3.0

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.2.0...v2.3.0

v2.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.1.0...v2.2.0

v2.1.0

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v2.0.0...v2.1.0

v2.0.0

Compare Source

What's Changed

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v1.43.0...v2.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Lama Bot

Merge request reports