Skip to content

Users reinvited when list index changes #1

Description

@pangorgo

Is there any sane solution to manage users using this module in dynamically changing members?

Let say I have four members:

users = [
    {
      username = "foo"
    },
    {
      username = "bar"
    },
    {
      username = "baz"
    },
    {
      username = "woo"
    }
  ]

Then I delete bar member:

users = [
    {
      username = "foo"
    },
    {
      username = "baz"
    },
    {
      username = "woo"
    }
  ]

Which effectively kicks out and reinvite members baz and woo because their index in resources list changed and terraform treats them as different users than before.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions