stealthycoin on develop
chore: Use OrderedDict in yamlh… Import from ordereddict and sim… Support parsing yaml merge tags and 2 more (compare)
$ aws configure
Credential named assume-role-with-web-identity not found.
$ aws --version
aws-cli/1.16.230 Python/3.7.4 Linux/5.2.11-arch1-1-ARCH botocore/1.12.180
~/.aws/config
file to make sure there's not something wrong with the default profile, or just move that out of the way to troubleshoot. It's possible the default profile you have set references a role that no longer exists in the target account
@marius02 ah, that's a bit different then. if you're not getting this error in the console, then what I'm guessing is happening is that you're unable to describe instances that aren't yet initializing. if I recall there's a limit to the number of instances you can spin up at once - you might be getting that error for instances that haven't actually been provisioned yet.
You can check this by using aws ec2 describe-instances --instance-id <id> --query Reservations[].Instances[].State
. If your request to create the instance was successful (and perhaps double check that it was), the given state should let you know what's going on. Once the instance is listed as "starting" you should be able to query for its status.
Hello all!
Wondering if I can list multiple profiles on awscli
What it does:
aws configure list
# Name Value Type Location
# ---- ----- ---- --------
# profile default None None
# access_key <not set> None None
# secret_key <not set> None None
# region eu-west-1 config-file ~/.aws/config
What I want it to do:
aws configure list --all
# Name Value Type Location
# ---- ----- ---- --------
# profile default None None
# access_key <not set> None None
# secret_key <not set> None None
# region eu-west-1 config-file ~/.aws/config
# Name Value Type Location
# ---- ----- ---- --------
# profile profile1 None None
# access_key <not set> None None
# secret_key <not set> None None
# region eu-west-1 config-file ~/.aws/config
# Name Value Type Location
# ---- ----- ---- --------
# profile profile1 None None
# access_key <not set> None None
# secret_key <not set> None None
# region eu-west-1 config-file ~/.aws/config
aws ec2 describe-images --owners amazon --filters 'Name=name,Values=amzn2-ami-hvm-2.0.????????-x86_64-gp2' 'Name=state,Values=available' --query 'reverse(sort_by(Images, &CreationDate))[:1].ImageId' --output text
Hello, I have an issue with "aws cloudformation deploy"
I used it to create a stack that use a parameter named "MyInstanceType" with a string value t3.small"; when I deploy the stack, everything works fine.
When I change the param's default value with one from SSM parameter store "/MyInstanceType", deploying the stack fails with the following errors :
An error occurred (ValidationError) when calling the CreateChangeSet operation: Unable to fetch parameters ... from parameter store for this account
Any idea ?
virtualenv/bin/aws
I get 'Requirement.parse('botocore<2.0.0,>=1.12.36'), {'s3transfer'})'. If I run the aws that is in the project root (aws-cli/bin/aws) it runs without checking the requirements.
Any tips for installing on MacOSX Sierra? Python versions are as follows:
$python3 --version
Python 3.7.1
$python --version
Python 2.7.10
When I run aws configure
I get the following message:
$aws configure
Traceback (most recent call last):
File "/usr/local/bin/aws", line 4, in <module>
__import__('pkg_resources').run_script('awscli==1.18.2', 'aws')
File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 3018, in <module>
working_set = WorkingSet._build_master()
File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 612, in _build_master
ws.require(__requires__)
File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 918, in require
needed = self.resolve(parse_requirements(requirements))
File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 805, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: colorama<0.4.4,>=0.2.5
$pip3 install colorama
Requirement already satisfied: colorama in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/colorama-0.4.3-py3.7.egg (0.4.3)