https://pulumi.com logo
f

famous-rain-47417

09/01/2021, 12:14 PM
Thanks
m

modern-belgium-42936

09/01/2021, 12:30 PM
when you are in your project/stack directory and you run
pulumi config get tags
what do you get in return?
f

famous-rain-47417

09/01/2021, 12:35 PM
Hello! I've got this:
Copy code
⇒  pulumi config get tags
{"ambiente":"dev","centro-custo":"10mzbr7h47","centro-de-custo":"10mzbr7h47","diretoria":"ti","funcao":"AKS","owner":"<mailto:marcelo.prioste@claro.com.br|marcelo.prioste@claro.com.br>","produto":"nbatecnico","projeto":"nbatecnico"}
m

modern-belgium-42936

09/01/2021, 12:35 PM
Also did you try this?
Copy code
config = pulumi.Config()
tags = config.require_object("tags")
print(tags)
There is a good article here that talks about this (scroll to the bottom)
f

famous-rain-47417

09/01/2021, 12:36 PM
YES!
🙌 1
👍 1
Solved
🙌 1
Thanks a lot
let me check de article
m

modern-belgium-42936

09/01/2021, 12:36 PM
Sweet! I don't work for Pulumi by the way. Just helping out a fellow dev 🙂. Glad you got going!
f

famous-rain-47417

09/01/2021, 12:38 PM
again, many thanks
3 Views