Fix the aws-ts-lambda-thumbnailer example
MODIFY
aws-ts-lambda-thumbnailer/docker-ffmpeg-thumb/Dockerfile
aws-ts-lambda-thumbnailer/docker-ffmpeg-thumb/Dockerfile
@@ -12,7 +12,7 @@ RUN ./aws/install
# Install ffmpeg
RUN curl https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz -s
RUN tar -xf ffmpeg.tar.xz
-RUN mv ffmpeg-4.3.1-amd64-static/ffmpeg /usr/bin
+RUN mv ffmpeg-*-amd64-static/ffmpeg /usr/bin
# Create function directory
RUN mkdir -p ${FUNCTION_DIR}

MODIFY
misc/test/aws_test.go
misc/test/aws_test.go
@@ -588,6 +588,15 @@ func TestAccAwsTsThumbnailer(t *testing.T) {
integration.ProgramTest(t, &test)
}
+func TestAccAwsTsLambdaThumbnailer(t *testing.T) {
+ test := getAWSBase(t).
+ With(integration.ProgramTestOptions{
+ Dir: path.Join(getCwd(t), "..", "..", "aws-ts-lambda-thumbnailer"),
+ })
+
+ integration.ProgramTest(t, &test)
+}
+
func TestAccAwsTsTwitterAthena(t *testing.T) {
test := getAWSBase(t).
With(integration.ProgramTestOptions{

Fix the aws-ts-lambda-thumbnailer example (#1010)