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

Document configuring GCS/Azure snapshot repositories through the generic repository type. #710

Closed
ezienecker opened this issue Sep 14, 2023 · 1 comment · Fixed by #731
Closed
Labels
enhancement New feature or request

Comments

@ezienecker
Copy link

ezienecker commented Sep 14, 2023

The current docs for ec_snapshot_repository only include examples for configuring an S3 style repository. We should detail how to configure the generic repository type, including examples for Azure and GCS.

Original issue


Overview

ec_snapshot_repository currently only supports S3. It would be an advantage if the other cloud providers such as Azure were also supported.

Possible Implementation

resource "ec_snapshot_repository" "this" {
  name = "my-snapshot-repository" 
  azure = {
    container = "my-container"
  }
}

Testing

  • Create snapshot repository.
  • Change snapshot repository and verify it was changed.
  • Delete snapshot repository.

Context

For migrations and backups I need to register in Elastic Cloud Repository.

@ezienecker ezienecker added the enhancement New feature or request label Sep 14, 2023
@tobio
Copy link
Member

tobio commented Oct 30, 2023

ec_snapshot_repository currently only supports S3

@ezienecker the resource already supports a generic snapshot repository type. This comment can be used as an example of registering an Azure snapshot repository, but in general any both GCS and Azure repositories can be added through the generic block.

We need to improve the docs here with examples for GCS/Azure though, I'm updating this issue to make those doc improvements.

@tobio tobio changed the title Support other cloud provider in ec_snapshot_repository Document configuring GCS/Azure snapshot repositories through the generic repository type. Oct 30, 2023
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
2 participants