Closed davesade closed 2 days ago
Ah yes, there was a refactor in v8.0.0 that changed the schedules attribute to use the predetermined object structure rather than a general map, and it looks like it assumes each schedule always exists (even though the SDK allows nil
).
To make it easier to reproduce and test on my side, what version of Metabase are you using?
We're on v1.49.18. Thank you for looking into this!
This should be fixed in v0.9.1, but let me know if you still experience it
Great - thank you!
Terraform CLI and Terraform AWS Provider Version
Terraform 1.8.5
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
All should work, as it was working with v 0.7.1 before.
Actual Behavior
It crashes during plan phase.
Steps to Reproduce
terraform plan
References
Not sure, but we think it's due to a change of schedules behavior in Metabase - https://github.com/bnjns/terraform-provider-metabase/compare/v0.7.1...v0.8.0#diff-48fd8dd51e44a1407938cfa2c28f5920f478fa5bfb58e149b459b3870ef7e62bR287 - in our case we do use non-default settings for schedules and it seems it's broken.
0000