-
Notifications
You must be signed in to change notification settings - Fork 26
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
'InstanceIds' is a required property #82
Comments
@VihangaHeshan can you share your command you are running, removing any actual instance Ids or other sensitive info? |
Hi @punkrokk , This is the alias file to start EC2 instance. This is the command that I execute in the Slack with my Bot. |
@VihangaHeshan A quick peek makes me wonder two things:
I am not a chatops expert but may be able to help more after you answer these questions. |
Hi @punkrokk,
I am not sure whether this error occurred due to Python version mismatch. By the way this is nothing to do with chatops, seems simple coding error or syntax error. |
Your cli shows the wrong argument spelling.
So - try with ‘InstanceIds=i-1737482872...’
Try adding quotes around it also.
… On Oct 22, 2019, at 3:02 AM, VihangaHeshan ***@***.***> wrote:
Hi @punkrokk,
Still the same issue when I run the command at the CLI
State - id, that is when showing the result back to screen.
I tried without the dash even. Still the same issue.
**I directly taken this code from Github stackstorm/ AWS page.
As far as I know it says the error is in
"Back
{
"stdout": "",
"stderr": "Traceback (most recent call last):\n File "/opt/stackstorm/st2/lib/python3.6/site-packages/python_runner/python_action_wrapper.py", line 333, in \n obj.run()\n File "/opt/stackstorm/st2/lib/python3.6/site-packages/python_runner/python_action_wrapper.py", line 192, in run\n output = action.run(**self._parameters)\n File "/opt/stackstorm/packs/aws/actions/run.py", line 36, in run\n return self.do_method(module_path, cls, aws_action, **kwargs)\n File "/opt/stackstorm/packs/aws/actions/lib/action.py", line 158, in do_method\n for k, v in kwargs.copy(): #I removed items() and added copy()\nValueError: too many values to unpack (expected 2)\n",
"exit_code": 1,
"result": "None"
}"
I am not sure whether this error occurred due to Python version mismatch.
By the way this is nothing to do with chatops, seems simple coding error or syntax error.
Please help me!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I faced this below error, even though I properly included the AWS access Key.
I managed to get all available ec2 instances. But when I issue the command stop or start the EC2 instance, it gives me this error.
Please help me to resolve this issue ASAP.
The text was updated successfully, but these errors were encountered: