Skip to content

ec2_eni idempotence bug #255

Closed
Closed

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.

Activity

  1. ansibullbot commented on Feb 3, 2021

    @ansibullbot

    Files identified in the description:

    If these files are inaccurate, please update the component name section of the description or use the !component bot command.

    click here for bot help

  2. ansibullbot commented on Feb 3, 2021

    @ansibullbot
  3. added
    bug
    module
    plugins
    on Feb 3, 2021
  4. goneri commented on Feb 10, 2021

    @goneri
    Member

    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?

  5. added a commit that references this issue on Jul 8, 2021
    922514a
  6. added 2 commits that reference this issue on Sep 18, 2023
    9617924
    c64ab85
  7. added a commit that references this issue on Oct 24, 2023
    dbf6362
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughas_prmoduleplugins

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions