icy-controller-6092
04/23/2025, 1:38 AM@pulumi/cloudflare
v6 and now getting these errors on preview:
cloudflare:index:ZeroTrustAccessPolicy (c1-policy):
error: objectEncoder failed on property "include": encList failed while encoding element 0...
little-cartoon-10569
04/23/2025, 1:41 AMlittle-cartoon-10569
04/23/2025, 1:42 AMlittle-cartoon-10569
04/23/2025, 1:46 AMicy-controller-6092
04/23/2025, 1:48 AMup
with problematic resources removed
• upgrade provider
• bring program in line with latest API
• re-run up
little-cartoon-10569
04/23/2025, 1:54 AMlittle-cartoon-10569
04/23/2025, 1:54 AMlittle-cartoon-10569
04/23/2025, 1:55 AMicy-controller-6092
04/23/2025, 1:58 AMAccessPolicy
became ZeroTrustAccessPolicy
with the idea being the former would provide backwards-compatibility
but it looks like it wasn't done correctly, only the top-level resources were kept backwards compatible, nested props like AccessPolicyInclude
brokelittle-cartoon-10569
04/23/2025, 1:58 AMicy-controller-6092
04/23/2025, 1:59 AMZeroTrustAccessPolicyInclude
was meant to carry the breaking change, but it's been accidentally applied to the backwards-compat resources too :(little-cartoon-10569
04/23/2025, 2:22 AMlittle-cartoon-10569
04/23/2025, 2:25 AMicy-controller-6092
04/23/2025, 2:27 AMpulumi stack export > state.json
and done some editing then imported the updated state
but its still throwing an error on preview with objectEncoder failed on property "certificate": Expected an Object PropertyValue, found bool ("{false}")
even though that property "certificate" is no longer in my state, and is also not being returned by the cloudflare API. i'm not sure where i'ts coming fromicy-controller-6092
04/23/2025, 2:52 AMup
without --refresh
icy-controller-6092
04/23/2025, 2:54 AMicy-controller-6092
04/23/2025, 3:00 AM