Git Product home page Git Product logo

Comments (14)

Nosmoht avatar Nosmoht commented on September 25, 2024 1

Hi @c4rlier ,

we already identified the issue and will fix it soon.

from terraform-provider-nexus.

android-leha avatar android-leha commented on September 25, 2024 1

Probably this can be closed

from terraform-provider-nexus.

Nosmoht avatar Nosmoht commented on September 25, 2024

Hi @c4rlier ,

that was an issue within the used go-nexus-client library that is fixed in https://github.com/datadrivers/go-nexus-client/releases/tag/v0.8.2. We will release a new Terraform provider soon, using the new client library. That should fix the issue.

from terraform-provider-nexus.

Nosmoht avatar Nosmoht commented on September 25, 2024

Hi @c4rlier ,

this should be fixed with https://github.com/datadrivers/terraform-provider-nexus/releases/tag/v1.4.1.

from terraform-provider-nexus.

Michenux avatar Michenux commented on September 25, 2024

I'm using version 1.6.1 and it is not fixed.

Error: could not create repository 'my-mvn-group': HTTP: 404, 

  on nexus.tf line 56, in resource "nexus_repository" "maven_group":
  56: resource "nexus_repository" "maven_group" {

terraform providers

.
├── provider.aws >= 2.60.0
└── provider.nexus >= 1.6.0

from terraform-provider-nexus.

ruedigerblock avatar ruedigerblock commented on September 25, 2024

Moin @Michenux,
may I ask for the corresponding TF code, thus I can compare ?

from terraform-provider-nexus.

Michenux avatar Michenux commented on September 25, 2024

Yes

resource "nexus_repository" "maven_group" {
  name   = "${var.project_name}-mvn-group"
  format = "maven2"
  type   = "group"
  online = true

  group {
    member_names = [nexus_repository.maven_hosted.name, "maven-public"]
  }

  storage {
    blob_store_name                = nexus_blobstore.aws.name
    strict_content_type_validation = true
  }
}

In fact, there is no endpoint in API to create a maven group.
It is fixed in Nexus 3.24, but not yet released.
https://issues.sonatype.org/browse/NEXUS-23080

from terraform-provider-nexus.

ruedigerblock avatar ruedigerblock commented on September 25, 2024

I see it now. Thus, we'll have to wait for 3.24 to come out. :-(

from terraform-provider-nexus.

Michenux avatar Michenux commented on September 25, 2024

3.24.0 released:
https://help.sonatype.com/repomanager3/release-notes#ReleaseNotes-NexusRepositoryManager3.24.0

from terraform-provider-nexus.

Nosmoht avatar Nosmoht commented on September 25, 2024

Hi @Michenux ,

thanks for the information. I'll start with the implementation.

from terraform-provider-nexus.

Nosmoht avatar Nosmoht commented on September 25, 2024

Hi @Michenux ,

i've just tested with provider v1.7.0 and it works already. So please use this version.

from terraform-provider-nexus.

fog1985 avatar fog1985 commented on September 25, 2024

Cool. I have just faced this issue as well. I needed to create maven groups. And could not find them implemented. Now I see that it's up to Nexus API. It has not been implemented at all.

from terraform-provider-nexus.

Nosmoht avatar Nosmoht commented on September 25, 2024

It's implemented in Nexus 3.24.0 and supported by provider v1.7.0

from terraform-provider-nexus.

Michenux avatar Michenux commented on September 25, 2024

Yes, you can.
Thanks for your work 👍

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.