Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 type for blobstore #7

Closed
binlab opened this issue Feb 27, 2020 · 4 comments
Closed

S3 type for blobstore #7

binlab opened this issue Feb 27, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@binlab
Copy link
Contributor

binlab commented Feb 27, 2020

Thanks for great work!

As I understand there is missed support for S3 type yet:

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # nexus_blobstore.maven will be created
  + resource "nexus_blobstore" "maven" {
      + available_space_in_bytes = (known after apply)
      + blob_count               = (known after apply)
      + id                       = (known after apply)
      + name                     = "maven"
      + path                     = "/"
      + total_size_in_bytes      = (known after apply)
      + type                     = "S3"
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

nexus_blobstore.maven: Creating...

Error: could not create blobstore "maven": HTTP: 400, [ {
  "id" : "PARAMETER bucketConfiguration",
  "message" : "must not be null"
} ]

  on blobs.tf line 12, in resource "nexus_blobstore" "maven":
  12: resource "nexus_blobstore" "maven" {

Do you have some plans to add S3 type for blobstore?
Will be nice to have this possibility for stateless instances
Thanks!

@Nosmoht
Copy link
Contributor

Nosmoht commented Mar 24, 2020

H @binlab ,

if you like you can send a PR. Otherwise please let me know and i'll add support for S3 backend.

@Nosmoht Nosmoht self-assigned this Mar 24, 2020
@Nosmoht Nosmoht added the enhancement New feature or request label Mar 24, 2020
@binlab
Copy link
Contributor Author

binlab commented Mar 24, 2020

Hello @Nosmoht !
I looked for the possibility to add S3 backend, but this not so easy task. It also needs to add support into a library - https://github.com/datadrivers/go-nexus-client
If you can, I would ask you to do this. Thanks!

@Nosmoht
Copy link
Contributor

Nosmoht commented Mar 24, 2020

Will do :-)

@Nosmoht
Copy link
Contributor

Nosmoht commented Mar 31, 2020

Hi @binlab ,

S3 blobstore support was added v1.2.0.

#11

@Nosmoht Nosmoht closed this as completed May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants