@@ -101,16 +101,11 @@ jobs:
101
101
- name : Create Layer
102
102
id : create-layer
103
103
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
110
105
111
106
LAYER_VERSION=$(aws --region us-gov-west-1 lambda publish-layer-version \
112
107
--zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
113
- --cli-input-json file://./input.json
108
+ --cli-input-json file://./input.json \
114
109
--query 'Version' \
115
110
--output text)
116
111
@@ -166,16 +161,11 @@ jobs:
166
161
- name : Create Layer
167
162
id : create-layer
168
163
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
175
165
176
166
LAYER_VERSION=$(aws --region us-gov-west-1 lambda publish-layer-version \
177
167
--zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
178
- --cli-input-json file://./input.json
168
+ --cli-input-json file://./input.json \
179
169
--query 'Version' \
180
170
--output text)
181
171
0 commit comments