sparse-intern-71089
12/24/2022, 5:52 PMclever-painter-96148
12/26/2022, 9:30 AM$ yq '.config."gke-cluster:master-authorized-networks"' < Pulumi.dev.yaml
[
"10.0.0.0/8"
]
$ pulumi config get gke-cluster:master-authorized-networks
["10.0.0.0/8"]
$ pulumi config get gke-cluster:master-authorized-networks --json
{
"value": "[\"10.0.0.0/8\"]",
"objectValue": [
"10.0.0.0/8"
],
"secret": false
}
Guess that explains why ConfigValue only takes strings. I need to JSON-serialize non-string values before calling it.
Shouldn't we do this serialization transparently?clever-painter-96148
12/27/2022, 12:00 PM