doitintl / terraform-provider-doit

Terraform provider for DoiT API platform
Mozilla Public License 2.0
1 stars 0 forks source link

end_date should be ignored for recurring budgets #8

Open haizaar opened 5 months ago

haizaar commented 5 months ago

DoiT API has an issue where it rightfully doesn't accept endDate for recurring budgets but then still populates this field a number. Which trips Terraform in that it tries to reset it to null, which fails.

Ideally, DoiT API needs to maintain endDate field as null for recurring budgets, but failing that our terraform provider needs to ignore endDate field if the budget type is recurring.