Skip to content

Commit 49c92ae

Browse files
feat: support Fn::ImportValue
Closes #262
1 parent 4daa09d commit 49c92ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/deploy/stepFunctions/compileStateMachines.schema.js

Lines changed: 6 additions & 0 deletions
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 definition = Joi.alternatives().try(

0 commit comments

Comments
 (0)