fierce-ability-58936
12/07/2020, 8:46 PMself.register_outputs({
bucketDnsName: bucket.bucketDomainName
})
Which doesn’t work - if it’s a dict, then it should be "bucketDnsName": bucket.bucketDomainName
and then it should presumably register the output property named “buckerDnsName”?
But when I try to use it as resource.bucketDnsName
it doesn’t work and complains about “AttributeError”.
Should I DIY it like self.bucketDnsName = bucket.bucketDomainName
after self.register_outputs call?No 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