Skip to content

Commit 5790997

Browse files
committed
replace amd64 to x86_64 for compatible-architectures
1 parent 16ded75 commit 5790997

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ deploy: build
2929
--description "psycopg2-binary $(PYTHON_VERSION) $(ARCHITECTURE)" \
3030
--zip-file fileb://layer.zip \
3131
--compatible-runtimes python$(PYTHON_VERSION) \
32-
--compatible-architectures $(ARCHITECTURE)
32+
--compatible-architectures $(subst amd64,x86_64,$(ARCHITECTURE))
3333
rm -rf python/ layer.zip

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ install psycopg2-binary
1111
## Deploy
1212

1313
```
14-
$ AWS_PROFILE=`YOUR_PROFILE` make -e push
14+
$ AWS_PROFILE=`YOUR_PROFILE` PYTHON_VERSION=3.xx ARCHITECTURE=arm64 make -e push
1515
1616
#=> "arn:aws:lambda:${REGION}:${YOUR_AWS_ACCOUNT_ID}:layer:psycopg2-binary-3-11-arm64:1"
1717
```

0 commit comments

Comments
 (0)