You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detail: fmt.Sprintf("Instance type %q will soon reach End of Service", server.CommercialType),
802
+
Summary: fmt.Sprintf(`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.
803
+
Here are the %d best options for %q, ordered by relevance: [%s]
804
+
805
+
You can check the full list of compatible server types:
806
+
- on the Scaleway console
807
+
- using the CLI command 'scw instance server get-compatible-types %s zone=%s'`,
808
+
len(mostRelevantTypes),
809
+
server.CommercialType,
810
+
strings.Join(mostRelevantTypes, ", "),
811
+
server.ID,
812
+
server.Zone,
813
+
),
814
+
AttributePath: cty.GetAttrPath("type"),
815
+
})
816
+
}
817
+
783
818
////
784
819
// Read server private networks
785
820
////
@@ -799,75 +834,49 @@ func ResourceInstanceServerRead(ctx context.Context, d *schema.ResourceData, m i
Detail: fmt.Sprintf("Instance type %q will soon reach End of Service", server.CommercialType),
855
-
Summary: fmt.Sprintf(`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.
856
-
Here are the %d best options for %q, ordered by relevance: [%s]
857
-
858
-
You can check the full list of compatible server types:
859
-
- on the Scaleway console
860
-
- using the CLI command 'scw instance server get-compatible-types %s zone=%s'`,
0 commit comments