Giter Club home page Giter Club logo

Comments (8)

bkolanko avatar bkolanko commented on July 20, 2024 1

It's the same bug for the other type of groups, like npm and maven.

from terraform-provider-nexus.

joeyaurel avatar joeyaurel commented on July 20, 2024 1

I can confirm that this problem still exists. Looking into it.

from terraform-provider-nexus.

Edu-DevOps avatar Edu-DevOps commented on July 20, 2024 1

I´ve checked this and the issue seems to be in this schema attribute since TypeSet is used to represent an unordered collection of items. Terraform doc reference: https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-types#typeset

We would need to use TypeList to preserver the order I believe

from terraform-provider-nexus.

salakonrad avatar salakonrad commented on July 20, 2024 1

The problem still exists in the latest provider version

from terraform-provider-nexus.

sonykus avatar sonykus commented on July 20, 2024

I can confirm that the problem still exists in version 2.1.0 of the datadriver, and this also affects ALL kind of groups (not just docker). The underlying issue was well pointed out in the comments above:
The datadriver implementation uses a set, not a list, and therefore the ordered input gets reshuffled along the way.

Environment (although irrelevant due to the nature of this bug): Terraform 1.7.1 and Nexus RM Pro 3.62.0-01.

from terraform-provider-nexus.

anmoel avatar anmoel commented on July 20, 2024

first, it is only fixed for docker groups

from terraform-provider-nexus.

anmoel avatar anmoel commented on July 20, 2024

we will implement the same way for all repository types if someone can approve that the problem is fixed in version https://github.com/datadrivers/terraform-provider-nexus/releases/tag/v2.2.0

from terraform-provider-nexus.

oliverisaac avatar oliverisaac commented on July 20, 2024

The merged PR applies to the base repository schema so it applied to all repository types.

This is working as expected for an npm repo:

  • I applied the terraform
  • I logged into my instance and altered the group member order using the GUI
  • I reapplied the terraform
  • The GUI shows that my manual order change was reverted and the ordering is now as desired

from terraform-provider-nexus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.