-
Notifications
You must be signed in to change notification settings - Fork 397
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
Wrong datatype in ecs_taskdefinition.containers #264
Comments
Yes, it seems to be an issue indeed. As you can see from there the elements were not forced to be converted into any data format. Now the formatting is forced and it seems that they shouldn't be forced to be strings, but rather dicts if any as the reporter suggested. Is there anything that we're missing here? |
Ah no... |
* #264 wrong element type for parameter
…collections#284) * ansible-collections#264 wrong element type for parameter
…collections#284) * ansible-collections#264 wrong element type for parameter
…collections#284) * ansible-collections#264 wrong element type for parameter
community.aws/plugins/modules/ecs_taskdefinition.py
Line 324 in 6eab8b0
In current version argument_spec is following:
containers=dict(required=False, type='list', elements='str'),
This causes dicts inside container list to be converted to strings.
If we select some example from documentation ...
... then running it causes following exception:
To get examples (and container section) working, argument spec needs to be changed to following:
containers=dict(required=False, type='list', elements='dict'),
The text was updated successfully, but these errors were encountered: