Skip to content

ec2_eni idempotence bug #255

Description

@sassoo
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
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue/PR relates to a bughas_prmodulemodulepluginsplugin (any type)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions