Skip to content

Conversation

@Mia-Cross
Copy link
Contributor

@Mia-Cross Mia-Cross commented Apr 30, 2025

For the end of service warning message to be clearer, we should only display the 5 most relevant Instance types, and redirect users to the CLI for the full list. The warning will be displayed as follows :

╷
│ Warning: Your Instance will soon reach End of Service. You can check the exact date on the Scaleway console. We recommend that you migrate your Instance before that.
│ Here are the 5 best options for "ENT1-S", ordered by relevance: [POP2-8C-32G, POP2-2C-8G, POP2-4C-16G, POP2-16C-64G, POP2-32C-128G]
│ 
│ You can check the full list of compatible server types:
│       - on the Scaleway console
│       - using the CLI command 'scw instance server get-compatible-types e957d3cb-8b5a-4881-804b-4ac1b612b3e3 zone=fr-par-1'
│ 
│   with scaleway_instance_server.eos,
│   on endofservice.tf line 14, in resource "scaleway_instance_server" "eos":
│   14:   type = "ENT1-S"
│ 
│ Instance type "ENT1-S" will soon reach End of Service
╵

Closes #3042

@Mia-Cross Mia-Cross added the instance Instance issues, bugs and feature requests label Apr 30, 2025
@Mia-Cross Mia-Cross self-assigned this Apr 30, 2025
@Mia-Cross Mia-Cross force-pushed the instance_eos_warning_displays_5_types branch from 5245912 to c22b978 Compare April 30, 2025 13:50
@Mia-Cross Mia-Cross marked this pull request as ready for review April 30, 2025 13:55
@Mia-Cross Mia-Cross requested a review from a team as a code owner April 30, 2025 13:55
@remyleone remyleone added this pull request to the merge queue May 2, 2025
Merged via the queue into scaleway:master with commit e633949 May 2, 2025
41 checks passed
@Mia-Cross Mia-Cross deleted the instance_eos_warning_displays_5_types branch May 2, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

instance Instance issues, bugs and feature requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Warning diagnostics if the instance server is EndOfLife

2 participants