Skip to content

Commit db77965

Browse files
Merge pull request #384 from Luke-Davies/master
feat: allow Fn::ImportValue for alarm topics
2 parents ed1ca92 + 29bae34 commit db77965

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/deploy/stepFunctions/compileAlarms.schema.js

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ const arn = Joi.alternatives().try(
88
Joi.object().keys({
99
'Fn::GetAtt': Joi.array().items(Joi.string()),
1010
}),
11+
Joi.object().keys({
12+
'Fn::ImportValue': Joi.alternatives().try(
13+
Joi.string(),
14+
Joi.object(),
15+
),
16+
}),
1117
);
1218

1319
const topics = Joi.object().keys({

0 commit comments

Comments
 (0)