Skip to content

Commit

Permalink
Upgrade provider to 1.35.0 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduchesne authored Mar 2, 2023
1 parent 2b426e5 commit f6a6664
Show file tree
Hide file tree
Showing 13 changed files with 188 additions and 39 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
PROJECT_NAME := provider-grafana
PROJECT_REPO := github.com/grafana/crossplane-provider-grafana

export TERRAFORM_VERSION := 1.3.7
export TERRAFORM_VERSION := 1.3.9

export TERRAFORM_PROVIDER_SOURCE := grafana/grafana
export TERRAFORM_PROVIDER_REPO := https://github.com/grafana/terraform-provider-grafana
export TERRAFORM_PROVIDER_VERSION := 1.34.0
export TERRAFORM_PROVIDER_VERSION := 1.35.0
export TERRAFORM_PROVIDER_DOWNLOAD_NAME := terraform-provider-grafana
export TERRAFORM_NATIVE_PROVIDER_BINARY := terraform-provider-grafana_v1.34.0
export TERRAFORM_NATIVE_PROVIDER_BINARY := terraform-provider-grafana_v1.35.0
export TERRAFORM_DOCS_PATH := docs/resources

PLATFORMS ?= linux_amd64 linux_arm64
Expand Down
7 changes: 6 additions & 1 deletion apis/alerting/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion apis/alerting/v1alpha1/zz_rulegroup_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion apis/oss/v1alpha1/zz_dashboard_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion apis/oss/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions apis/oss/v1alpha1/zz_generated.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/oss/v1alpha1/zz_team_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions config/grafana/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ func Configure(p *ujconfig.Provider) {
}
})
p.AddResourceConfigurator("grafana_dashboard", func(r *ujconfig.Resource) {
r.References["org_id"] = ujconfig.Reference{
TerraformName: "grafana_organization",
RefFieldName: "OrganizationRef",
SelectorFieldName: "OrganizationSelector",
}
r.References["folder"] = ujconfig.Reference{
TerraformName: "grafana_folder",
RefFieldName: "FolderRef",
Expand Down
Loading

0 comments on commit f6a6664

Please sign in to comment.