Skip to content

Conversation

@Mia-Cross
Copy link
Contributor

When referencing the scaleway_marketplace_image data source as the image attribute of the scaleway_instance_server resource, an error can occur when the marketplace local image type is not compatible with the requested root_volume.volume_type.

A few things could be enhanced in order to make troubleshooting this error easier:

  • b_ssd was removed from the documentation of the root_volume.volume_type field's possible values as it is deprecated.
  • instance_type was null in the scaleway_marketplace_image data source, making troubleshooting the error difficult.

Closes #3019

@Mia-Cross Mia-Cross self-assigned this May 27, 2025
@Mia-Cross Mia-Cross added documentation instance Instance issues, bugs and feature requests priority:highest Bugs filled by customers, security issues labels May 27, 2025
@Mia-Cross Mia-Cross marked this pull request as ready for review May 27, 2025 18:28
@Mia-Cross Mia-Cross requested review from a team and remyleone as code owners May 27, 2025 18:28
@remyleone remyleone changed the title doc(instance): update server's possible volume types + read more mark… fix(instance): update server's possible volume types Jun 2, 2025
@remyleone remyleone changed the title fix(instance): update server's possible volume types fix(marketplace): update server's possible volume types Jun 2, 2025
check the `volumes_constraint.{min|max}_size` (in bytes) for your `commercial_type`.
Depending on `volume_type`, updates to this field may recreate a new resource.
- `volume_type` - (Optional) Volume type of root volume, can be `b_ssd`, `l_ssd` or `sbs_volume`, default value depends on server type
- `volume_type` - (Optional) Volume type of root volume, can be `l_ssd` or `sbs_volume`, default value depends on server type
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add tests for those different cases?

@remyleone remyleone enabled auto-merge June 4, 2025 14:39
@remyleone remyleone added this pull request to the merge queue Jun 4, 2025
Merged via the queue into scaleway:master with commit a6a7a13 Jun 4, 2025
46 checks passed
@Mia-Cross Mia-Cross deleted the instance_doc_root_volume_type_compatibility branch June 4, 2025 15:38
Laure-di pushed a commit to Laure-di/terraform-provider-scaleway that referenced this pull request Jul 28, 2025
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 priority:highest Bugs filled by customers, security issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Outdated docs for scaleway_instance_server.root.volume_type ⇒ Unable to use an SBS volume for root volume of an instance from Scaleway's images

2 participants