Video Tutorial - Creating an AWS integration
arn:aws:s3YourBucket
value for Resource with your bucket’s Amazon Resource Name (ARN). The ARN can be found in the Properties tab of your S3 bucket. When pasting your bucket ARN into the JSON policy editor, ensure that the Resource value ends in /*
. Click the Next button to continue.s3:PutObject
is needed for features that require write permissions, including re-encoding data and creating image sequences.
s3:ListBucket
is OPTIONAL. Cloud Synced Folders requires s3:ListBucket
read permissions to sync data stored in your buckets to Encord Cloud Synced Folders .
For customers working with teams in India
Cache policy not set
error when testing the integration.Example JSON
aws
and the tfvars
utility that allows us to neatly define values to pass into variables.
We also define an alias as well as a Region for the AWS provider, which needs to match the location in which you want your bucket to be provisioned.
variables.tf
file, you will need to define the variables into which you want to pass values. An example is below:
.tfvars
file to avoid having to manually edit the Terraform filestfvars
we need to create a corresponding .tfvars
file and specify some values we wish to pass into the variables you just defined:
terraform plan
to preview the changes and check you are happy with them.
Once your Terraform has been applied, return to the Encord application, and test your integration.
s3-resources.tf
now looks like this: