The values of config are currently always stored as strings. But you can use
to JSON parse the value of the config when you read it.
11/19/2018, 10:17 PM
okay, I'll try that
11/19/2018, 10:19 PM
FWIW - the history here is that we were initially focused on
pulumi config set key value
as the primary interface for setting config, which must accept just strings. We then started storing it in the YAML file, which has become a more convenient place to author config. But we still have the restriction to only string values. We plan to extend the config type system in the near future.
11/19/2018, 11:04 PM
got it. I found a workaround, and the stuff I wanted to store really isn't stack-specific but global to the project for all stacks