aws-samples / aws-samples/aws-lambda-extensions

bad zip in go-example-lambda-runtime-api-proxy-extension

Offen
#103 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
487
Forks
144
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The zip file produced [here](https://github.com/aws-samples/aws-lambda-extensions/tree/2f7d61e8e66df99eb5fa733ff23bd25ce18b6d26/go-example-lambda-runtime-api-proxy-extension#building-the-package-and-dependencies) and [here](https://github.com/aws-samples/aws-lambda-extensions/blob/2f7d61e8e66df99eb5fa733ff23bd25ce18b6d26/go-example-lambda-runtime-api-proxy-extension/Makefile) includes the `ARTIFACTS_DIR` in the zip making it invalid and the extension does not run.

You're probably missing the zip `-j` flag.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the package-building instructions and the Makefile in go-example-lambda-runtime-api-proxy-extension, focusing on the command that creates the zip. Verify the archive layout after building it. Done means the zip does not include ARTIFACTS_DIR and the extension runs as intended.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, go
Bereich
cloud
Issue-Typ
Bug
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.