Hello there! I'm bumping in a problem similar to ...
# general
b
Hello there! I'm bumping in a problem similar to the one of this thread, for the upgrade of Cloudflare provider from v5 to v6. In particular with
AccessApplication
, after the bump of the library I tried to both keep the same resource type (which is depreacted in v6) and to switch to the
ZeroTrustAccessApplication
equivalent but I always have troubles with the state in preview, with the following error (basically
cors_headers
was a list before and now is a single typed object).
Copy code
error: [pf/tfbridge] Error calling EncodePropertyMap: objectEncoder failed on property "cors_headers": Expected an Object PropertyValue, found [] ("{[{map[allowAllHeaders:{false} allowAllMethods:{false} allowAllOrigins:{false} allowCredentials:{true} allowedHeaders:{[]} allowedMethods:{[{GET} {OPTIONS} {POST}]} allowedOrigins:{[{bolla-public.prima.it}]} maxAge:{10}]}]}")
Any clue if there's an easy way to solve this, even modifying the state manually? Not sure if it's better open an issue or write here, feel free to redirect me 🙂
I opened #1284 in the meanwhile