What happened:
When you use the Terraform provider resource grafana_oncall_on_call_shift using rolling_users type with an empty rolling_users array. Either [] or [[]] the provider do hard crash. It is annoying as we use TeamSync and pre-configure schedules before users first connect.
What did you expect to happen:
Do not crash the entire provider.
Put this as a warning but not an error and do nothing.
How do we reproduce it?
Create an grafana_oncall_on_call_shift with rolling_users type and empty rolling_users array
What went wrong?
What happened: When you use the Terraform provider resource grafana_oncall_on_call_shift using
rolling_users
type with an emptyrolling_users
array. Either[]
or[[]]
the provider do hard crash. It is annoying as we use TeamSync and pre-configure schedules before users first connect.What did you expect to happen: Do not crash the entire provider. Put this as a warning but not an error and do nothing.
How do we reproduce it?
rolling_users
type and emptyrolling_users
arrayGrafana OnCall Version
provider 3.1.0
Product Area
Terraform/Crossplane
Grafana OnCall Platform?
I use Grafana Cloud
User's Browser?
No response
Anything else to add?
No response