Skip to content
New issue

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

ssm doesn't handle longer instance ID's #1729

Closed
jerm opened this issue Jan 14, 2016 · 5 comments
Closed

ssm doesn't handle longer instance ID's #1729

jerm opened this issue Jan 14, 2016 · 5 comments
Assignees
Labels
bug This issue is a bug. ssm

Comments

@jerm
Copy link

jerm commented Jan 14, 2016

$ aws ssm send-command --instance-ids i-065d9ed12b63cd03d --document AWS-UpdateSSMAgent

Parameter validation failed:
Invalid length for parameter InstanceIds[0], value: 19, valid range: 10-10

@JordonPhillips JordonPhillips added bug This issue is a bug. ssm labels Jan 15, 2016
@JordonPhillips
Copy link
Member

Thanks for reporting! Cross-service dependencies like this can be problematic

@JordonPhillips JordonPhillips self-assigned this Jan 18, 2016
@nistic
Copy link

nistic commented Jan 21, 2016

Yeah, this is causing issues for us since aws is transitioning to a longer ID format.

@JordonPhillips
Copy link
Member

The SSM model has been fixed as of 1.10.1

@tlhumphrey2
Copy link

I'm experiencing a similar error. My instance id is the new longer version, i.e. i-00f91d30c45259a35. Specifically, the error is: "Invalid length for parameter InstanceIds[0], value: 19, valid range: 1-16". The awscli command is: "aws autoscaling detach-instances". It doesn't like my long instance id.

@rob-johansen
Copy link

@tlhumphrey2 I was having a similar error with this command:

aws autoscaling terminate-instance-in-auto-scaling-group ...

After reading #1954 I upgraded my awscli to the latest version and the problem is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. ssm
Projects
None yet
Development

No branches or pull requests

5 participants