web-client-for-aws-transfer-family
web-client-for-aws-transfer-family copied to clipboard
Template 03 Fails to Deploy
On deployment of the third tempalte - 03-sftp-endpoint.template the deployment fails every attempt. The deployment fails on the following error:
"Properties validation failed for resource SFTPCustomAuthLambda with message: #/Code/S3Bucket: failed validation constraint for keyword [pattern]"
I went into the template and changed the template under Mappings for the S3Bucket and hard coded the "bucketname" into this field. This seems to have helped but causes my deployment to fail on a new error every time:
Resource handler returned message: "Error occurred while GetObject. S3 Error Code: NoSuchBucket. S3 Error Message: The specified bucket does not exist (Service: Lambda, Status Code: 400, Request ID: redacted)" (RequestToken: redacted, HandlerErrorCode: InvalidRequest)
I am unable to move past this step and seems like the template fails no matter where I deploy it on any bucket or any AWS account.