0

I am using python and Pulumi to instanciate a stack. this is them main.py

import pulumi

from pulumi_gcp import pubsub

topic = pubsub.Topic("my-topic")
pulumi.export("topic_name", topic.name)

On the appication code, I would like to get the topic_name, as I need to publish messages on this topic. Is that possible?

p.magalhaes
  • 7,595
  • 10
  • 53
  • 108

0 Answers0