<!--- Verify first that your issue is not already reported on GitHub --> <!--- Also test if the latest release and devel branch are affected too --> <!--- Complete *all* sections as described, this form is processed automatically --> ##### SUMMARY The encoding of groups causes a bytes type does not equal a string type so idempotence fails. This is the line at fault I belive: https://github.com/ansible-collections/amazon.aws/blame/ac6b2cd478773befdde43bfadc0de40969ad4d0b/plugins/modules/ec2_eni.py#L772 ##### ISSUE TYPE - Bug Report ##### COMPONENT NAME ec2_eni ##### ANSIBLE VERSION <!--- Paste verbatim output from "ansible --version" between quotes --> ```paste below ansible 2.10.5 python version = 3.9.1 (default, Jan 8 2021, 17:17:17) [Clang 12.0.0 (clang-1200.0.32.28)] ``` ##### STEPS TO REPRODUCE Pass security group names to the ec2_eni module & it will always report a change. ##### EXPECTED RESULTS It should not report a change.
Activity
ansibullbot commentedon Feb 3, 2021
Files identified in the description:
plugins/modules/ec2_eni.py](https://github.com/['ansible-collections/amazon.aws', 'ansible-collections/community.aws', 'ansible-collections/community.vmware']/blob/main/plugins/modules/ec2_eni.py)If these files are inaccurate, please update the
component namesection of the description or use the!componentbot command.click here for bot help
ansibullbot commentedon Feb 3, 2021
cc @healem @jillr @s-hertel @tremble @wimnat
click here for bot help
goneri commentedon Feb 10, 2021
Hi, thank you for the bug report. Do you have an example of a problematical playbook? And would you like to submit a Pull Request?
ec2_eni: Fix idempotency when security_groups is specified (#337)
cloudfront_distribution: no longer crashes when waiting for completio…
cloudfront_distribution: no longer crashes when waiting for completio…
cloudfront_distribution: no longer crashes when waiting for completio…
ci(deps): bump the github-actions group with 7 updates (#3048)