Skip to content

fix(ci): GovCloud formatting change #3761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions .github/workflows/layers_govcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,11 @@ jobs:
- name: Create Layer
id: create-layer
run: |
cat AWSLambdaPowertoolsTypeScriptV2.json | jq '{
"LayerName": "AWSLambdaPowertoolsTypeScriptV2",
"Description": .Description,
"CompatibleRuntimes": .CompatibleRuntimes,
"LicenseInfo": .LicenseInfo
}' > input.json
cat AWSLambdaPowertoolsTypeScriptV2.json | jq '{"LayerName": "AWSLambdaPowertoolsTypeScriptV2", "Description": .Description, "CompatibleRuntimes": .CompatibleRuntimes, "LicenseInfo": .LicenseInfo}' > input.json

LAYER_VERSION=$(aws --region us-gov-west-1 lambda publish-layer-version \
--zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
--cli-input-json file://./input.json
--cli-input-json file://./input.json \
--query 'Version' \
--output text)

Expand Down Expand Up @@ -166,16 +161,11 @@ jobs:
- name: Create Layer
id: create-layer
run: |
cat AWSLambdaPowertoolsTypeScriptV2.json | jq '{
"LayerName": "AWSLambdaPowertoolsTypeScriptV2",
"Description": .Description,
"CompatibleRuntimes": .CompatibleRuntimes,
"LicenseInfo": .LicenseInfo
}' > input.json
cat AWSLambdaPowertoolsTypeScriptV2.json | jq '{"LayerName": "AWSLambdaPowertoolsTypeScriptV2", "Description": .Description, "CompatibleRuntimes": .CompatibleRuntimes, "LicenseInfo": .LicenseInfo}' > input.json

LAYER_VERSION=$(aws --region us-gov-west-1 lambda publish-layer-version \
--zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
--cli-input-json file://./input.json
--cli-input-json file://./input.json \
--query 'Version' \
--output text)

Expand Down
Loading