<!--- 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.
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
COMPONENT NAME
ec2_eni
ANSIBLE VERSION
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.