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

[FEAT] - Object Storage Object resource #62

Open
fczuardi opened this issue Oct 31, 2024 · 1 comment
Open

[FEAT] - Object Storage Object resource #62

fczuardi opened this issue Oct 31, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@fczuardi
Copy link

Is your feature request related to a problem? Please describe.
The provider have options for setting up buckets but not objects.

Describe the solution you'd like
It would be nice to only use the mgc provider for VM, Buckets and Objects. (at hackathon UFSCar 2024)

Describe alternatives you've considered
The alternative is to use hashicorp's aws provider.

Additional context
This demand was something we encountered at Hackathon UFSCar 2024

@LombardiDaniel
Copy link

Is this still an issue? I'm trying to create a bucket with only the MGC provider, but i get the following error (although the api key pair is set)

╷
│ Error: Failed to create bucket
│ 
│   with mgc_object_storage_buckets.clickhouse_spec_tests,
│   on main.tf line 23, in resource "mgc_object_storage_buckets" "clickhouse_spec_tests":
│   23: resource "mgc_object_storage_buckets" "clickhouse_spec_tests" {
│ 
│ api-key not set, see how to set it with "mgc object-storage api-key -h"

provider is:

provider "mgc" {
  alias   = "sudeste"
  region  = "br-se1"
  api_key = vars.api_key
  object_storage = {
    key_pair = {
      key_id     = vars.s3_key_id
      key_secret = vars.s3_key_secret
    }
  }
}

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

4 participants