You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To deploy our initial Webiny infrastructure, we followed these steps:
create a new AWS Account
Create an IAM user, "Webiny_Deployer" with no permissions
Use the provided cloudformation template in the docs to assign the user to least-privilege groups suitable for deploying Webiny. This was created in us-east-1.
Attempt to deploy Webiny, using the "Webiny_Deployer" user, via yarn webiny deploy
What is the expected behavior?
Successful Webiny environment creation.
What do you see instead?
We receive an IAM permissions error (account ID's redacted)
validating Step Functions State Machine definition:
User: arn:aws:iam::REDACTED:user/Webiny_Deployer
is not authorized to perform:
states:ValidateStateMachineDefinition on resource: arn:aws:states:us-east-1:REDACTED:stateMachine:*
because no identity-based policy allows the states:ValidateStateMachineDefinition action
And additional errors appear as each permission is granted. Logging them here:
states:ValidateStateMachineDefinition on resource: arn:aws:states:us-east-1:REDACTED:stateMachine:*
states:ListStateMachineVersions on resource: stateMachine:wby-background-task-sfn-811a8dd
cloudfront:GetDistribution on resource: distribution/<distribution id> - This occurred on yarn webiny destroy
this looks like a Condition mismatch.
lambda:ListTags on resource: event-source-mapping:<guid>
We'll be releasing these fixes officially hopefully by the end of week, or beginning next week the latest. Make sure to keep an eye on the #announcements Slack channel. :)
Version
5.40.6
Operating System
N/A
Browser
N/A
What are the steps to reproduce this bug?
To deploy our initial Webiny infrastructure, we followed these steps:
yarn webiny deploy
What is the expected behavior?
Successful Webiny environment creation.
What do you see instead?
We receive an IAM permissions error (account ID's redacted)
And additional errors appear as each permission is granted. Logging them here:
states:ValidateStateMachineDefinition on resource: arn:aws:states:us-east-1:REDACTED:stateMachine:*
states:ListStateMachineVersions on resource: stateMachine:wby-background-task-sfn-811a8dd
cloudfront:GetDistribution on resource: distribution/<distribution id>
- This occurred onyarn webiny destroy
Condition
mismatch.lambda:ListTags on resource: event-source-mapping:<guid>
Condition
mismatch.Additional information
No response
Possible solution
#4321
The text was updated successfully, but these errors were encountered: