Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Fix python installation and update to support IMDSv2 #131

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ruchimo
Copy link

@ruchimo ruchimo commented Apr 8, 2024

Issue #, if available:

*Description of changes: Fix python installation and update to support IMDSv2

  • Executing the command sudo yum -y install jq nodejs python36 gives below error
    No match for argument: python36 Error: Unable to find a match: python36

  • This command echo "export AWS_DEFAULT_REGION=$(curl -s 169.254.169.254/latest/dynamic/instance-identity/document | jq -r .region)" >> ~/.bashrc is not supported in EC2 instance types with IMDS version2

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant