flovouin / terraform-provider-metabase

A Terraform provider for the Metabase service. Also provides a utility to import dashboards and cards as Terraform definitions.
21 stars 6 forks source link

Error when creating a collection on color attribute #35

Closed rodo closed 8 months ago

rodo commented 8 months ago

Hi, With

I have an error when I create a new collection, the collection is well created but I have the following on console when doing the terraform apply

│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to metabase_collection.my_business_reports, provider
│ "provider[\"registry.terraform.io/flovouin/metabase\"]" produced an unexpected new value: .color: was
│ cty.StringVal("#cdeabc"), but now null.
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Thank you for your work :+1:

flovouin commented 8 months ago

Hi @rodo,

Thanks for your report. The Metabase API has changed quite a bit in the last few versions, and there has been several breaking changes (see #31). This provider does not currently support Metabase v0.48.

However I'm in the process of supporting it! A branch already exists, but is not quite finished. In fact, the color issue has been fixed in this commit.

Work has been slower than I originally hoped due to personal matters, but I haven't given up on finishing this.

rodo commented 8 months ago

Thanks so much for your answer, sorry to miss to check the compatibilty. No hurry we will be happy with the next version and we'ell find a workaround.