https://pulumi.com logo
Title
s

square-car-84996

09/15/2021, 4:56 PM
can you get a config value from another namespace (i.e. aws:region)?
p

prehistoric-activity-61023

09/15/2021, 5:10 PM
yep
in case of python, it would be simple:
pulumi.Config("aws").get("region")
pulumi.Config
has optional
name
parameter:
The configuration bag’s logical name that uniquely identifies it. If not provided, the name
of the current project is used.
unless you meant something else by “namespace” and I misunderstood you
s

square-car-84996

09/15/2021, 5:25 PM
nope, that is what i was looking for
i saw the name parameter, but the documentation was not clear that name == namespace