Amazon S3 publishing using Flutter workflow editor
How to publish a web app to Amazon S3 using Flutter workflow editor
In order to publish your web application to AWS S3:
- Navigate to your workflow’s Distribution section.
- Select
Enable AWS S3 bucket publishing
. - Provide the values for
AWS access key ID
,AWS secret access Key
andBucket name
.
You can follow the instructions provided by Amazon to create your account and get the necessary details.
Now, each time you build the workflow, the app artifact will be published to your Amazon S3 bucket.
Note that the minimal required permission policy attached to the AWS IAM is as follows:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::<bucket-name>/*"
}
]
}