File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change
1
+ output.yaml
Original file line number Diff line number Diff line change 1
1
STACK_NAME ?= imagemagick-layer-example
2
2
IMAGE_MAGICK_STACK_NAME ?= imagemagick-layer
3
3
4
- IMAGEMAGICK_LAYER ?=(shell aws cloudformation describe-stacks --stack-name $(IMAGE_MAGICK_STACK_NAME ) --query Stacks[].Outputs[].OutputValue --output text)
4
+ IMAGEMAGICK_LAYER ?=$ (shell aws cloudformation describe-stacks --stack-name $(IMAGE_MAGICK_STACK_NAME ) --query Stacks[].Outputs[].OutputValue --output text)
5
5
SOURCES =$(shell find src/)
6
6
7
7
clean :
8
8
rm -rf build
9
9
10
- output.yml : template.yml $(SOURCES )
10
+ output.yaml : template.yaml $(SOURCES )
11
11
mkdir -p build
12
- aws cloudformation package --template-file $< --output-template-file $@ --s3-bucket $(DEPLOYMENT_BUCKET_NAME )
12
+ aws cloudformation package --template-file $< --output-template-file $@ --s3-bucket $(DEPLOYMENT_BUCKET )
13
13
14
- deploy : output.yml
14
+ deploy : output.yaml
15
15
aws cloudformation deploy --template-file $< --stack-name $(STACK_NAME ) --capabilities CAPABILITY_IAM --parameter-overrides ImageMagickLayer=$(IMAGEMAGICK_LAYER )
16
16
aws cloudformation describe-stacks --stack-name $(STACK_NAME ) --query Stacks[].Outputs --output table
17
17
File renamed without changes.
You can’t perform that action at this time.
0 commit comments