1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello.
The error is caused by a problem with the architecture of the container image.
In this case, amd64 is used in Makefile.
So, I think you need to set Architectures to "x86_64".
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html#sam-function-architectures
UserPutFunction:
Type: AWS::Serverless::Function
Metadata:
BuildMethod: makefile
Properties:
CodeUri: ./
Handler: bootstrap
Runtime: provided.al2
Architectures:
- x86_64
Events:
CatchAll:
Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
Properties:
Path: /user
Method: POST
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 6 mois
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an