ibm-cloud-docs / vpc

Documentation repository for vpc
8 stars 50 forks source link

The command at step "Acquire an instance identity access token" is missing the closing ` symbol at the end #114

Closed turcanboss closed 2 years ago

turcanboss commented 2 years ago

https://cloud.ibm.com/docs/vpc?topic=vpc-imd-configure-service&interface=api#imd-json-token

Command:

instance_identity_token=`curl -X PUT "http://169.254.169.254/instance_identity/v1/token?version=2022-03-08"\
  -H "Metadata-Flavor: ibm"\
  -d '{
        "expires_in": 3600
      }' | jq -r '(.access_token)'

Should be:

instance_identity_token=`curl -X PUT "http://169.254.169.254/instance_identity/v1/token?version=2022-03-08"\
  -H "Metadata-Flavor: ibm"\
  -d '{
        "expires_in": 3600
      }' | jq -r '(.access_token)'`
kparr commented 2 years ago

Added the missing backtick on staging and production. Waiting for update to appear before closing. @donslovenkai

kparr commented 2 years ago

Closing backtick visible in production.

instance_identity_token=`curl -X PUT "http://169.254.169.254/instance_identity/v1/token?version=2022-03-08"\
  -H "Metadata-Flavor: ibm"\
  -d '{
        "expires_in": 3600
      }' | jq -r '(.access_token)'`