sparse-intern-71089
12/07/2021, 2:19 PMbillowy-army-68599
proud-art-41399
12/07/2021, 3:16 PMget_object()
Python method (https://www.pulumi.com/docs/reference/pkg/python/pulumi/#pulumi.Config.get_object):
This routine simply JSON parses and doesn’t validate the shape of the contents.while for
get()
method (https://www.pulumi.com/docs/reference/pkg/python/pulumi/#pulumi.Config.get) it explicitly returns `str`:
I guess the same or similar logic applies for the Pulumi CLI. Considering the docs, I initially thought it's awkward but desired behavior. Anyway I'll open an issue 👍.get(key: str) → Optional[str]
proud-art-41399
12/09/2021, 6:56 PM