We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using the the script for an on-demand to spot conversion with the invocation
./ec2-spot-converter --stop-instance --review-conversion-result --instance-id <id> --update-cw-alarms --check-targetgroups * --wait-for-tg-states
Output:
[INFO] 2021-02-28 06:07:19,059 ec2-spot-converter - [STEP 1/26] Read DynamoDB state table... [INFO] 2021-02-28 06:07:19,116 ec2-spot-converter - => SUCCESS. Record '<id>' read succesfully. [INFO] 2021-02-28 06:07:19,142 ec2-spot-converter - [STEP 2/26] Discover instance state... [ERROR] 2021-02-28 06:07:19,631 ec2-spot-converter - Failed to list target groups: An error occurred (ValidationError) when calling the DescribeTargetGroups operation: 'ec2-spot-converter' is not a valid target group ARN. [ERROR] 2021-02-28 06:07:19,631 ec2-spot-converter - Failed to perform step 'DiscoverInstanceState'! Reason=Failed to retrieve ELB target groups!
I've used the latest policy.json attached as an IAM role. Not sure if it needs the * to be in quotes?
Update: The load balancer in use is an application load balancer
The text was updated successfully, but these errors were encountered:
Okay so I got it working by individually specifying ARNs of all the target groups to which the instance was registered
Sorry, something went wrong.
Hi, Thanks for highlighting this. I have think to remove the wildcard that is sensitive to shell substitution in command arguments...
v0.11.0 released!
No branches or pull requests
I'm using the the script for an on-demand to spot conversion with the invocation
Output:
I've used the latest policy.json attached as an IAM role.
Not sure if it needs the * to be in quotes?
Update: The load balancer in use is an application load balancer
The text was updated successfully, but these errors were encountered: