File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11package verify
22
33import (
4- "fmt"
54 "github.com/hashicorp/go-cty/cty"
65 "github.com/hashicorp/terraform-plugin-sdk/v2/diag"
76 "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
@@ -76,8 +75,7 @@ func IsUUIDOrNameOffer() schema.SchemaValidateDiagFunc {
7675 Severity : diag .Warning ,
7776 Summary : "Using a datasource for better consistency and reliability is recommended instead of directly using offer names." ,
7877 AttributePath : path ,
79- Detail : fmt .Sprintf (
80- `The offer name should be retrieved using a datasource to ensure reliable and consistent configuration.
78+ Detail : `The offer name should be retrieved using a datasource to ensure reliable and consistent configuration.
8179
8280Example:
8381data "scaleway_baremetal_offer" "my_offer_monthly" {
@@ -87,9 +85,9 @@ data "scaleway_baremetal_offer" "my_offer_monthly" {
8785}
8886
8987Then, you can reference the datasource's attributes in your resources.` ,
90- ),
9188 }}
9289 }
90+
9391 return nil
9492 }
9593}
You can’t perform that action at this time.
0 commit comments