Skip to content

Missed VersionLabel key #47

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Missed VersionLabel key #47

wants to merge 1 commit into from

Conversation

uolter
Copy link

@uolter uolter commented Apr 19, 2018

I am creating my cloud infrastructure in AWS with terraform and deploying the applications with ansible.
Terraform allows me to create an environment without any version associated. Consequently, the VersionLabel key does not exist in Boto response.

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'VersionLabel' fatal: [127.0.0.1 -> localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_HYWzTw/ansible_module_elasticbeanstalk_env.py\", line 411, in <module>\n main()\n File \"/tmp/ansible_HYWzTw/ansible_module_elasticbeanstalk_env.py\", line 375, in main\n updates = update_required(ebs, env, module.params)\n File \"/tmp/ansible_HYWzTw/ansible_module_elasticbeanstalk_env.py\", line 218, in update_required\n if params[\"version_label\"] and env[\"VersionLabel\"] != params[\"version_label\"]:\nKeyError: 'VersionLabel'\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}
The small changes I made prevent me from the error above and to deploy my first version in beanstalk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant