File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 3737 aws-region : eu-west-1
3838 role-to-assume : arn:aws:iam::097948374213:role/github-actions-deploy
3939 - name : Deploy Layer
40- run : AWS_PROFILE =prod npm run deploy
40+ run : STAGE =prod AWS_REGION=eu-west-1 npm run deploy
4141
4242 create-release :
4343 needs : [publish-node-packages]
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
66The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) .
77
8+ ## [ Unreleased]
9+
10+ * Fix deploy
11+
812## [ 0.5.2] - 2024-03-27
913
1014* fix deploy
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ chmod +x ../layer-dir/baselime
88# Zip the build directory
99cd ../layer-dir
1010zip -r ../node-tracing.zip .
11-
1211# Get the list of AWS regions
1312REGIONS=$( aws ec2 describe-regions --output text --query " Regions[*].RegionName" )
1413echo $REGIONS
@@ -45,7 +44,7 @@ upload_layer() {
4544 fi
4645 layer_arn=$( echo " $output " | jq -r .LayerArn)
4746 perm=$( aws ssm put-parameter \
48- --name " /$AWS_PROFILE /baselime/otel/tracer/node" \
47+ --name " /$STAGE /baselime/otel/tracer/node" \
4948 --description " The ARN for our telemetry extension" \
5049 --value " $name :$version_number " \
5150 --type String \
You can’t perform that action at this time.
0 commit comments