https://pulumi.com logo
#typescript
Title
# typescript
j

jolly-egg-4894

06/13/2019, 2:24 PM
Copy code
const topic = new aws.sns.Topic("sns");

topic.onEvent("event", async (event) => {
	console.log(event);
});
error: Plan apply failed: deleting urn:pulumi:pulumi-peoplehr::pulimi-peoplehr::cloud:topic:Topic$aws:sns/topic:Topic::sns: InvalidParameter: Invalid parameter: TopicArn