Skip to content

Instantly share code, notes, and snippets.

@kaihendry
Created March 25, 2022 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaihendry/99b138f7ee41190f781697c6d1122c67 to your computer and use it in GitHub Desktop.
Save kaihendry/99b138f7ee41190f781697c6d1122c67 to your computer and use it in GitHub Desktop.
AWS Quick Start Template - go1.x
(ins)[hendry@t14s gotestaws]$ sam local invoke "HelloWorldFunction" -e event.json
Invoking hello-world (go1.x)
Image was not found.
Removing rapid images for repo public.ecr.aws/sam/emulation-go1.x
Building image...........................................................................................................................................................................................................................................................................................................................................................................................................
Skip pulling image and use local one: public.ecr.aws/sam/emulation-go1.x:rapid-1.40.1-x86_64.
Mounting /tmp/goaws/gotestaws/.aws-sam/build/HelloWorldFunction as /var/task:ro,delegated inside runtime container
START RequestId: ead74729-c4a7-4a60-814f-73edfba21cf4 Version: $LATEST
/var/task/hello-world: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /var/task/hello-world)
/var/task/hello-world: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /var/task/hello-world)
2022/03/25 07:52:19 exit status 1
25 Mar 2022 07:52:19,892 [ERROR] (rapid) Init failed InvokeID= error=Runtime exited with error: exit status 1
/var/task/hello-world: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /var/task/hello-world)
/var/task/hello-world: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /var/task/hello-world)
2022/03/25 07:52:19 exit status 1
END RequestId: 4fabf532-a92e-403d-85a9-091019143b6d
REPORT RequestId: 4fabf532-a92e-403d-85a9-091019143b6d Init Duration: 0.14 ms Duration: 18.32 ms Billed Duration: 19 ms Memory Size: 128 MB Max Memory Used: 128 MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment