modern-diamond-8258902/21/2019, 9:38 PM
instance to an SNS topic that was created external to a pulumi stack? The topic ARN would be passed in as a config parameter; i.e. an instance of
is not immediately available.
is where I started my search, but the problem with it is that
is required to be of type
. Right now I am wishing it could be of type
pulumi.Input<aws.sns.Topic | aws.ARN>
lemon-spoon-9180702/21/2019, 10:01 PM
modern-diamond-8258902/21/2019, 10:02 PM
, is arbitrary. The second arg,
, would be the ARN. But I'm getting an error:
. I suspect that I need to provide a custom provider to
InvalidParameter: Invalid parameter: TopicArn
because the topic is in a different region.
lemon-spoon-9180702/21/2019, 10:11 PM
modern-diamond-8258902/21/2019, 10:45 PM
works when the topic is found in the same region as the stack's default.
representing the foreign region is supplied to both
lemon-spoon-9180702/22/2019, 2:26 AM