Skip to content

Commit 196d2ba

Browse files
author
r.sora
committed
fixes Invalid principal deploying IamRoleStateMachineExecution Role bug
1 parent 8c4a70e commit 196d2ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/deploy/stepFunctions/compileIamRole.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
'iam-role-statemachine-execution-template.json'))
2222
);
2323
iamRoleStateMachineExecutionTemplate =
24-
iamRoleStateMachineExecutionTemplate.replace('[region]', this.region)
24+
iamRoleStateMachineExecutionTemplate.replace('[region]', this.options.region)
2525
.replace('[PolicyName]', this.getStateMachinePolicyName());
2626

2727
const iamRoleStateMachineLogicalId = this.getiamRoleStateMachineLogicalId();

0 commit comments

Comments
 (0)