Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Read me] changing ARN details for better understanding #21

159 changes: 10 additions & 149 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Click on Layers and choose "Add a layer", and "Provide a layer version ARN" and enter the following ARN.

```
arn:aws:lambda:us-east-1:764866452798:layer:ghostscript:13
arn:aws:lambda:<YOUR REGION>:764866452798:layer:ghostscript:<VERSION>
```

Works with the following [AWS Lambda runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) which
Expand All @@ -15,155 +15,16 @@ run on Amazon Linux 2:
- python3.8
- java11

## Version ARNs
## Version Numbers

<details>
<summary>Ghostscript v10.0.0
</summary>

| AWS Region | Layer ARN |
| -------------- |-------------------------------------------------------------------|
| us-east-1 | `arn:aws:lambda:us-east-1:764866452798:layer:ghostscript:13` |
| us-east-2 | `arn:aws:lambda:us-east-2:764866452798:layer:ghostscript:13` |
| us-west-1 | `arn:aws:lambda:us-west-1:764866452798:layer:ghostscript:13` |
| us-west-2 | `arn:aws:lambda:us-west-2:764866452798:layer:ghostscript:13` |
| ca-central-1 | `arn:aws:lambda:ca-central-1:764866452798:layer:ghostscript:13` |
| sa-east-1 | `arn:aws:lambda:sa-east-1:764866452798:layer:ghostscript:13` |
| eu-north-1 | `arn:aws:lambda:eu-north-1:764866452798:layer:ghostscript:13` |
| eu-central-1 | `arn:aws:lambda:eu-central-1:764866452798:layer:ghostscript:13` |
| eu-west-1 | `arn:aws:lambda:eu-west-1:764866452798:layer:ghostscript:13` |
| eu-west-2 | `arn:aws:lambda:eu-west-2:764866452798:layer:ghostscript:13` |
| eu-west-3 | `arn:aws:lambda:eu-west-3:764866452798:layer:ghostscript:14` |
| ap-northeast-1 | `arn:aws:lambda:ap-northeast-1:764866452798:layer:ghostscript:13` |
| ap-northeast-2 | `arn:aws:lambda:ap-northeast-2:764866452798:layer:ghostscript:13` |
| ap-south-1 | `arn:aws:lambda:ap-south-1:764866452798:layer:ghostscript:13` |
| ap-southeast-1 | `arn:aws:lambda:ap-southeast-1:764866452798:layer:ghostscript:13` |
| ap-southeast-2 | `arn:aws:lambda:ap-southeast-2:764866452798:layer:ghostscript:13` |
</details>

<details>
<summary>Ghostscript v9.56.1
</summary>

| AWS Region | Layer ARN |
| -------------- |-------------------------------------------------------------------|
| us-east-1 | `arn:aws:lambda:us-east-1:764866452798:layer:ghostscript:12` |
| us-east-2 | `arn:aws:lambda:us-east-2:764866452798:layer:ghostscript:12` |
| us-west-1 | `arn:aws:lambda:us-west-1:764866452798:layer:ghostscript:12` |
| us-west-2 | `arn:aws:lambda:us-west-2:764866452798:layer:ghostscript:12` |
| ca-central-1 | `arn:aws:lambda:ca-central-1:764866452798:layer:ghostscript:12` |
| sa-east-1 | `arn:aws:lambda:sa-east-1:764866452798:layer:ghostscript:12` |
| eu-north-1 | `arn:aws:lambda:eu-north-1:764866452798:layer:ghostscript:12` |
| eu-central-1 | `arn:aws:lambda:eu-central-1:764866452798:layer:ghostscript:12` |
| eu-west-1 | `arn:aws:lambda:eu-west-1:764866452798:layer:ghostscript:12` |
| eu-west-2 | `arn:aws:lambda:eu-west-2:764866452798:layer:ghostscript:12` |
| eu-west-3 | `arn:aws:lambda:eu-west-3:764866452798:layer:ghostscript:10` |
| ap-northeast-1 | `arn:aws:lambda:ap-northeast-1:764866452798:layer:ghostscript:12` |
vladholubiev marked this conversation as resolved.
Show resolved Hide resolved
| ap-northeast-2 | `arn:aws:lambda:ap-northeast-2:764866452798:layer:ghostscript:12` |
| ap-south-1 | `arn:aws:lambda:ap-south-1:764866452798:layer:ghostscript:12` |
| ap-southeast-1 | `arn:aws:lambda:ap-southeast-1:764866452798:layer:ghostscript:12` |
| ap-southeast-2 | `arn:aws:lambda:ap-southeast-2:764866452798:layer:ghostscript:12` |
</details>


<details>
<summary>Ghostscript v9.55.0
</summary>

| AWS Region | Layer ARN |
| -------------- | ---------------------------------------------------------------- |
| us-east-1 | `arn:aws:lambda:us-east-1:764866452798:layer:ghostscript:9` |
| us-east-2 | `arn:aws:lambda:us-east-2:764866452798:layer:ghostscript:9` |
| us-west-1 | `arn:aws:lambda:us-west-1:764866452798:layer:ghostscript:9` |
| us-west-2 | `arn:aws:lambda:us-west-2:764866452798:layer:ghostscript:9` |
| ca-central-1 | `arn:aws:lambda:ca-central-1:764866452798:layer:ghostscript:9` |
| sa-east-1 | `arn:aws:lambda:sa-east-1:764866452798:layer:ghostscript:9` |
| eu-north-1 | `arn:aws:lambda:eu-north-1:764866452798:layer:ghostscript:9` |
| eu-central-1 | `arn:aws:lambda:eu-central-1:764866452798:layer:ghostscript:9` |
| eu-west-1 | `arn:aws:lambda:eu-west-1:764866452798:layer:ghostscript:9` |
| eu-west-2 | `arn:aws:lambda:eu-west-2:764866452798:layer:ghostscript:9` |
| eu-west-3 | `arn:aws:lambda:eu-west-3:764866452798:layer:ghostscript:10` |
| ap-northeast-1 | `arn:aws:lambda:ap-northeast-1:764866452798:layer:ghostscript:9` |
| ap-northeast-2 | `arn:aws:lambda:ap-northeast-2:764866452798:layer:ghostscript:9` |
| ap-south-1 | `arn:aws:lambda:ap-south-1:764866452798:layer:ghostscript:9` |
| ap-southeast-1 | `arn:aws:lambda:ap-southeast-1:764866452798:layer:ghostscript:9` |
| ap-southeast-2 | `arn:aws:lambda:ap-southeast-2:764866452798:layer:ghostscript:9` |
</details>


<details>
<summary>Ghostscript v9.52
</summary>

| AWS Region | Layer ARN |
| -------------- | ---------------------------------------------------------------- |
| us-east-1 | `arn:aws:lambda:us-east-1:764866452798:layer:ghostscript:8` |
| us-east-2 | `arn:aws:lambda:us-east-2:764866452798:layer:ghostscript:8` |
| us-west-1 | `arn:aws:lambda:us-west-1:764866452798:layer:ghostscript:8` |
| us-west-2 | `arn:aws:lambda:us-west-2:764866452798:layer:ghostscript:8` |
| ca-central-1 | `arn:aws:lambda:ca-central-1:764866452798:layer:ghostscript:8` |
| sa-east-1 | `arn:aws:lambda:sa-east-1:764866452798:layer:ghostscript:8` |
| eu-north-1 | `arn:aws:lambda:eu-north-1:764866452798:layer:ghostscript:8` |
| eu-central-1 | `arn:aws:lambda:eu-central-1:764866452798:layer:ghostscript:8` |
| eu-west-1 | `arn:aws:lambda:eu-west-1:764866452798:layer:ghostscript:8` |
| eu-west-2 | `arn:aws:lambda:eu-west-2:764866452798:layer:ghostscript:8` |
| eu-west-3 | `arn:aws:lambda:eu-west-3:764866452798:layer:ghostscript:9` |
| ap-northeast-1 | `arn:aws:lambda:ap-northeast-1:764866452798:layer:ghostscript:8` |
| ap-northeast-2 | `arn:aws:lambda:ap-northeast-2:764866452798:layer:ghostscript:8` |
| ap-south-1 | `arn:aws:lambda:ap-south-1:764866452798:layer:ghostscript:8` |
| ap-southeast-1 | `arn:aws:lambda:ap-southeast-1:764866452798:layer:ghostscript:8` |
| ap-southeast-2 | `arn:aws:lambda:ap-southeast-2:764866452798:layer:ghostscript:8` |
</details>

<details>
<summary>
Ghostscript v9.50
</summary>

| AWS Region | Layer ARN |
| -------------- | ---------------------------------------------------------------- |
| us-east-1 | `arn:aws:lambda:us-east-1:764866452798:layer:ghostscript:6` |
| us-east-2 | `arn:aws:lambda:us-east-2:764866452798:layer:ghostscript:6` |
| us-west-1 | `arn:aws:lambda:us-west-1:764866452798:layer:ghostscript:6` |
| us-west-2 | `arn:aws:lambda:us-west-2:764866452798:layer:ghostscript:6` |
| ca-central-1 | `arn:aws:lambda:ca-central-1:764866452798:layer:ghostscript:6` |
| sa-east-1 | `arn:aws:lambda:sa-east-1:764866452798:layer:ghostscript:6` |
| eu-north-1 | `arn:aws:lambda:eu-north-1:764866452798:layer:ghostscript:6` |
| eu-central-1 | `arn:aws:lambda:eu-central-1:764866452798:layer:ghostscript:6` |
| eu-west-1 | `arn:aws:lambda:eu-west-1:764866452798:layer:ghostscript:6` |
| eu-west-2 | `arn:aws:lambda:eu-west-2:764866452798:layer:ghostscript:6` |
| eu-west-3 | `arn:aws:lambda:eu-west-3:764866452798:layer:ghostscript:7` |
| ap-northeast-1 | `arn:aws:lambda:ap-northeast-1:764866452798:layer:ghostscript:6` |
| ap-northeast-2 | `arn:aws:lambda:ap-northeast-2:764866452798:layer:ghostscript:6` |
| ap-south-1 | `arn:aws:lambda:ap-south-1:764866452798:layer:ghostscript:6` |
| ap-southeast-1 | `arn:aws:lambda:ap-southeast-1:764866452798:layer:ghostscript:6` |
| ap-southeast-2 | `arn:aws:lambda:ap-southeast-2:764866452798:layer:ghostscript:6` |
</details>

<details>
<summary>
Ghostscript v9.20
</summary>

| AWS Region | Layer ARN |
| -------------- | ---------------------------------------------------------------- |
| us-east-1 | `arn:aws:lambda:us-east-1:764866452798:layer:ghostscript:1` |
| us-east-2 | `arn:aws:lambda:us-east-2:764866452798:layer:ghostscript:1` |
| us-west-1 | `arn:aws:lambda:us-west-1:764866452798:layer:ghostscript:1` |
| us-west-2 | `arn:aws:lambda:us-west-2:764866452798:layer:ghostscript:1` |
| ca-central-1 | `arn:aws:lambda:ca-central-1:764866452798:layer:ghostscript:1` |
| sa-east-1 | `arn:aws:lambda:sa-east-1:764866452798:layer:ghostscript:1` |
| eu-north-1 | `arn:aws:lambda:eu-north-1:764866452798:layer:ghostscript:1` |
| eu-central-1 | `arn:aws:lambda:eu-central-1:764866452798:layer:ghostscript:1` |
| eu-west-1 | `arn:aws:lambda:eu-west-1:764866452798:layer:ghostscript:1` |
| eu-west-2 | `arn:aws:lambda:eu-west-2:764866452798:layer:ghostscript:1` |
| eu-west-3 | `arn:aws:lambda:eu-west-3:764866452798:layer:ghostscript:1` |
| ap-northeast-1 | `arn:aws:lambda:ap-northeast-1:764866452798:layer:ghostscript:1` |
| ap-northeast-2 | `arn:aws:lambda:ap-northeast-2:764866452798:layer:ghostscript:1` |
| ap-south-1 | `arn:aws:lambda:ap-south-1:764866452798:layer:ghostscript:1` |
| ap-southeast-1 | `arn:aws:lambda:ap-southeast-1:764866452798:layer:ghostscript:1` |
| ap-southeast-2 | `arn:aws:lambda:ap-southeast-2:764866452798:layer:ghostscript:1` |
</details>
| Ghostscript | VERSION | eu-west-3 |
| ----------- |----------|-----------|
| v10.0.0 | 13 | 14 |
| v9.56.1 | 12 | 13 |
| v9.55.0 | 9 | 10 |
| v9.52.0 | 8 | 9 |
| v9.50.0 | 6 | 7 |
| v9.20.0 | 1 | 1 |

## Where can I find the Ghostscript binary inside of Lambda after I attach the layer?

Expand Down