AWS Setup
Workstate uses Amazon S3 to store your environment states safely. Here is how to prepare your account.
1. Create an S3 Bucket
Section titled “1. Create an S3 Bucket”While Workstate can create a bucket for you during workstate configure, you can also use an existing one.
- Recommended Region: Choose a region close to you (e.g.,
us-east-1orsa-east-1). - Permissions: Public access should be blocked.
2. IAM Permissions
Section titled “2. IAM Permissions”The user or role running Workstate needs the following permissions on the target bucket:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:PutObject", "s3:GetObject", "s3:ListBucket", "s3:DeleteObject" ], "Resource": [ "arn:aws:s3:::your-bucket-name", "arn:aws:s3:::your-bucket-name/*" ] } ]}3. Configuration
Section titled “3. Configuration”Run the configuration command to link Workstate to your bucket:
workstate configure