2017-08-26 4 views
0

Ich versuche, diese Vorlage zu verwenden, um eine Datei aus S3-Bucket während der Cloud-Erstellung herunterladen.AWS Cloudformation Download-Datei von privaten S3 AWS4-HMAC-SHA256

seine fehlgeschlagen mit unten Fehlermeldung.

Der Autorisierungsmechanismus, den Sie bereitgestellt haben, wird nicht unterstützt. Bitte verwenden Sie AWS4-HMAC-SHA256.

diese Vorlage

https://raw.githubusercontent.com/awslabs/aws-hangouts/master/20140130_cfn/s3-role-authentication.json

2017-08-26 03:13:38,763 [ERROR] Unhandled exception during build: Failed to retrieve https://hello.s3.amazonaws.com/index.html: HTTP Error 400 : <?xml version="1.0" encoding="UTF-8"?> 
<Error><Code>InvalidRequest</Code><Message>The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.</Message><RequestId>5328A90F4EBF081D</RequestId><HostId>nUyURkNRX7Ty5xU1LiY3wO/aFDzjiWYw9JWq0PlVdmjMCqUP7sG8FN1w5BwmtEWc8IKpeMqkv6k=</HostId></Error> 
Traceback (most recent call last): 
    File "/opt/aws/bin/cfn-init", line 171, in <module> 
    worklog.build(metadata, configSets) 
    File "/usr/lib/python2.7/site-packages/cfnbootstrap/construction.py", line 129, in build 
    Contractor(metadata).build(configSets, self) 

Antwort

Verwandte Themen