Skip to content

Commit 8f1d459

Browse files
Merge pull request #263 from horike37/feature/role_import
feat: support Fn::ImportValue
2 parents 4daa09d + 49c92ae commit 8f1d459

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)