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

Support block snapshot in instance image #2819

Open
lootr opened this issue Nov 27, 2024 · 0 comments
Open

Support block snapshot in instance image #2819

lootr opened this issue Nov 27, 2024 · 0 comments
Assignees
Labels
enhancement sbs Scaleway Block Storage issues, bugs and feature requests

Comments

@lootr
Copy link

lootr commented Nov 27, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Defining an instance image composed of some block snapshots is accepted by the Scaleway API and the CLI by just providing the block snapshot ID.

The same operation is not accepted by the terraform provider, and returns the following error

│ Error: extra volumes : could not find snapshot with id fr-par-1/00000000-0000-0000-0000-000000000000
│
│   with scaleway_instance_image.cr-image,
│   on server.tf line 159, in resource "scaleway_instance_image" "cr-image":
│  159: resource "scaleway_instance_image" "cr-image" {

New or Affected Resource(s)

  • scaleway_instance_image

Potential Terraform Configuration

resource "scaleway_instance_image" "image" {
  name            = "image_with_extra_volumes"
  root_volume_id  = scaleway_instance_snapshot.server_snapshot.id
  additional_volumes = [
    scaleway_block_snapshot.volume_snapshot.id
  ]
}

References

@yfodil yfodil added the sbs Scaleway Block Storage issues, bugs and feature requests label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement sbs Scaleway Block Storage issues, bugs and feature requests
Projects
None yet
Development

No branches or pull requests

3 participants