We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bed4bd commit 928dbb1Copy full SHA for 928dbb1
shared/utils.sh
@@ -39,7 +39,7 @@ function get_metadata() {
39
function initialize() {
40
export AWS_AZ=$(get_metadata placement/availability-zone)
41
export AWS_REGION=$(echo ${AWS_AZ} | sed -e 's/[a-z]$//')
42
- export INSTANCE_ID=$(get_metadata placement/availability-zone/instance-id)
+ export INSTANCE_ID=$(get_metadata instance-id)
43
export EBS_AUTOSCALE_CONFIG_FILE=/etc/ebs-autoscale.json
44
}
45
0 commit comments