Closed landsman closed 1 month ago
If you set a value for betteruptime_status_page.layout then the error will go away. If you look at your tf plan output you'll probably see that it plans to change betteruptime_status_page.layout from vertical -> null.
Same goes for some other properties:
@MartinBjerknes But these are not flag as required fields in the doc.
@landsman Yeah, but it works as a work around until BetterStack gets around to addressing the issue.
Hello @landsman and @MartinBjerknes, thanks for reporting it and sharing the workaround 🙌
Specifying the field as Optional and Computed will make sure the API-returned values are always respected. I've proposed a fix in https://github.com/BetterStackHQ/terraform-provider-better-uptime/pull/96 and the issue should be addressed in v0.10.0.
The shared configuration should produce no more errors after upgrading, and you can remove those properties. Apologies for the inconvenience 🙏
Just released v0.10.0
which fixes the issue with optional fields being mandatory in some cases 🙌
thanks!
I successfuly created resources in Uptime but I am not able to do any updates. Please tell me what am I missing here.
Required fields are filled out. It would help me to actually see what "unsupported values" and attributes are sent in the PATCH request to let me debug it.
Related: #75
Error
Code