Closed Zeebrow closed 2 years ago
2022-07-08 17:10:46,548 : quickhost_aws.AWSKeypair : describe : ERROR: (InvalidKeyPair.NotFound): DescribeKeyPairs
should not log an error as the key had not been made yet.aws ec2 describe-security-groups --group-id sg-0f2293c37a3a6ede1 --region us-west-2 --profile quickhost-ci-admin
{
"SecurityGroups": [
{
"Description": "Made by quickhost",
"GroupName": "asdf",
"IpPermissions": [],
"OwnerId": "865386952527",
"GroupId": "sg-0f2293c37a3a6ede1",
"IpPermissionsEgress": [
{
"IpProtocol": "-1",
"IpRanges": [
{
"CidrIp": "0.0.0.0/0"
}
],
"Ipv6Ranges": [],
"PrefixListIds": [],
"UserIdGroupPairs": []
}
],
"Tags": [
{
"Key": "quickhost",
"Value": "asdf"
},
{
"Key": "Name",
"Value": "asdf"
}
],
"VpcId": "vpc-08993887d03942a79"
}
]
}
while not True:
I actually wrote this line of code.
main.py make --aws asdf --region us-west-2
was run outputaws ec2 describe-instances --instance-id i-0efb20917bbfe9c7c --region us-west-2 --profile quickhost-ci-admin