nice-airport-15607
08/04/2020, 11:50 PMsome_topic_name
According to this regex: https://regex101.com/r/oEIngn/3
but I’m getting the following error:
error: aws:iot/topicRule:TopicRule resource 'some_topic_name' has a problem: Name must match the pattern ^[a-zA-Z0-9_]+$
new aws.iot.TopicRule('this_is_not_the_name', {...})
isn’t the same as
new aws.iot.TopicRule('this_is_not_the_name', {
name: 'this_is_the_name',
...
})
which has a required name
in TopicRule
that i was missing…hundreds-musician-51496
08/05/2020, 5:57 PM-xxxxx
where xxxxx
is some hex numbers & letters. I think the hyphen (-
) used was the problem.nice-airport-15607
08/05/2020, 7:39 PM-
through a regex to replace globally to _