sparse-intern-71089
01/16/2024, 12:40 AMicy-controller-6092
01/16/2024, 12:41 AM> pulumi config set --path 'aws:defaultTags.tags.["user:Project"]' my_project
error: invalid configuration key: could not parse aws:defaultTags.tags.["user:Project"] as a configuration key (configuration keys should be of the form `<namespace>:<name>`)
--
> pulumi config set --path 'aws:defaultTags.tags.user:Project' my_project
# same error as above
--
> pulumi config set --path 'aws:defaultTags.tags.test' true
error: defaultTags.tags: expected a map
limited-rainbow-51650
01/16/2024, 7:46 AM$ pulumi config set --path 'aws:defaultTags.tags.key' value
$ pulumi config set --path 'aws:defaultTags.tags.otherkey' othervalue
give me the following stack config:
config:
aws:defaultTags:
tags:
key: value
otherkey: othervalue
The problem for you is that your key
contains a colon (user:Project
). This seems to confuse our argument parsing. Can you file an issue for this?
https://github.com/pulumi/pulumi/issuesicy-controller-6092
01/16/2024, 8:09 AMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by