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

ecs_taskdefinition: Fix int param types (Fixes #4538) #18999

Merged
merged 1 commit into from
Dec 9, 2016

Conversation

kkarimi
Copy link
Contributor

@kkarimi kkarimi commented Dec 8, 2016

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ecs_taskdefinition

ANSIBLE VERSION
ansible 2.2.0.0
SUMMARY

This fixes #4538 on ansible-modules-core where given container parameters to the module are always passed on as strings in the container definition parameters, which causes an exception by boto as some parameters have to be integers.

@kkarimi kkarimi changed the title Fixes #4538 passing int params as required by boto ecs_taskdefinition: Fix int param types Dec 8, 2016
@kkarimi kkarimi changed the title ecs_taskdefinition: Fix int param types ecs_taskdefinition: Fix int param types (Fixes #4538) Dec 8, 2016
@simplesteph
Copy link
Contributor

Great to see you merged that in. Does it play nicely with idempotence?
You're fixing the problem at the API call, but on the idempotence check to see if a new task definition should be registered, does that work as well?

@kkarimi
Copy link
Contributor Author

kkarimi commented Dec 13, 2016

@simplesteph Thanks and you raise a good point. The reported bug which this fixes was for task creation (which #19263 also seems to be addressing). I'll try to test the idempotence case, but we might need a new PR if there is a problem there.

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

Successfully merging this pull request may close these issues.

[ecs_taskdefinition] Invalid type for parameter containerDefinitions[0]
3 participants