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

Typo in scaleway_instance_image attributes reference #2818

Open
lootr opened this issue Nov 27, 2024 · 0 comments · May be fixed by lootr/terraform-provider-scaleway#1
Open

Typo in scaleway_instance_image attributes reference #2818

lootr opened this issue Nov 27, 2024 · 0 comments · May be fixed by lootr/terraform-provider-scaleway#1
Labels
documentation instance Instance 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

Terraform Version

v1.6.6

Affected Resource(s)

  • scaleway_instance_image

Terraform Configuration Files

The following resource is inspired one from https://registry.terraform.io/providers/scaleway/scaleway/2.47.0/docs/resources/instance_image#with-additional-volumes

resource "scaleway_instance_image" "image" {
  name            = "image_with_extra_volumes"
  root_volume_id  = "fr-par-1/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  additional_volumes = [
    "fr-par-1/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  ]
}

Debug Output

Panic Output

│ Error: Incorrect attribute value type
│
│   on server.tf line 174, in resource "scaleway_instance_image" "image":
│  174:   additional_volumes = [
│  175:     "fr-par-1/00000000-0000-0000-0000-000000000000"
│  176:   ]
│
│ Inappropriate value for attribute "additional_volumes": element 0: object required.

Expected Behavior

That's expected because the resource is description buggy and the reference specifies an attribute named additional_volume_ids.

Actual Behavior

Steps to Reproduce

  1. terraform apply

Important Factoids

References

@yfodil yfodil added documentation instance Instance issues, bugs and feature requests labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation instance Instance issues, bugs and feature requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants