@@ -101,16 +101,11 @@ jobs:
101101 - name : Create Layer
102102 id : create-layer
103103 run : |
104- cat AWSLambdaPowertoolsTypeScriptV2.json | jq '{
105- "LayerName": "AWSLambdaPowertoolsTypeScriptV2",
106- "Description": .Description,
107- "CompatibleRuntimes": .CompatibleRuntimes,
108- "LicenseInfo": .LicenseInfo
109- }' > input.json
104+ cat AWSLambdaPowertoolsTypeScriptV2.json | jq '{"LayerName": "AWSLambdaPowertoolsTypeScriptV2", "Description": .Description, "CompatibleRuntimes": .CompatibleRuntimes, "LicenseInfo": .LicenseInfo}' > input.json
110105
111106 LAYER_VERSION=$(aws --region us-gov-west-1 lambda publish-layer-version \
112107 --zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
113- --cli-input-json file://./input.json
108+ --cli-input-json file://./input.json \
114109 --query 'Version' \
115110 --output text)
116111
@@ -166,16 +161,11 @@ jobs:
166161 - name : Create Layer
167162 id : create-layer
168163 run : |
169- cat AWSLambdaPowertoolsTypeScriptV2.json | jq '{
170- "LayerName": "AWSLambdaPowertoolsTypeScriptV2",
171- "Description": .Description,
172- "CompatibleRuntimes": .CompatibleRuntimes,
173- "LicenseInfo": .LicenseInfo
174- }' > input.json
164+ cat AWSLambdaPowertoolsTypeScriptV2.json | jq '{"LayerName": "AWSLambdaPowertoolsTypeScriptV2", "Description": .Description, "CompatibleRuntimes": .CompatibleRuntimes, "LicenseInfo": .LicenseInfo}' > input.json
175165
176166 LAYER_VERSION=$(aws --region us-gov-west-1 lambda publish-layer-version \
177167 --zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
178- --cli-input-json file://./input.json
168+ --cli-input-json file://./input.json \
179169 --query 'Version' \
180170 --output text)
181171
0 commit comments