In your local machine, create a container.json file with the following contents. 

{
"Description": "Entrust PKI Hub AMI file",
"Format": "raw",
"UserBucket": {
"S3Bucket": "$AWS_S3_BUCKET",
"S3Key": "$AMI_FILE"
}
}

In the file contents, replace:

For example:

{
"Description": "Entrust PKI Hub AMI file",
"Format": "raw",
"UserBucket": {
"S3Bucket": "pki-hub-01",
"S3Key": "pki-hub-1.0.raw"
}
}