Skip to content

Unable to create Step function Permissions when $AWS:Partition is used #660

@liamquilter-gen

Description

@liamquilter-gen

Hey,

We are facing an issue when we use
Resource: arn:${AWS::Partition}:states:::states:startExecution.sync
it fails to create the iam role permission for that step function
"Action": [ "states:StartExecution" ], "Resource": [ "arn:aws:states:us-east-1:929447382720:stateMachine:service-stepFunction",
is what it should be but doesn't create this
We believe the line that needs to be updated is
https://github.com/serverless-operations/serverless-step-functions/blob/master/lib/deploy/stepFunctions/compileIamRole.js#L467

Any help regarding this would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions