diff --git a/ibm/resource_ibm_satellite_location.go b/ibm/resource_ibm_satellite_location.go index 36601fb005..9807f26000 100644 --- a/ibm/resource_ibm_satellite_location.go +++ b/ibm/resource_ibm_satellite_location.go @@ -67,8 +67,7 @@ func resourceIBMSatelliteLocation() *schema.Resource { } return o == n }, - Description: "The IBM Cloud metro from which the Satellite location is managed", - ValidateFunc: InvokeValidator("ibm_satellite_location", sateLocZone), + Description: "The IBM Cloud metro from which the Satellite location is managed", }, "description": { Type: schema.TypeString, @@ -185,8 +184,6 @@ func resourceIBMSatelliteLocation() *schema.Resource { } func resourceIBMSatelliteLocationValidator() *ResourceValidator { - managedFromAllowedValues := "wdc, lon, fra, wdc04, lon04, fra02" - validateSchema := make([]ValidateSchema, 0) validateSchema = append(validateSchema, ValidateSchema{ @@ -197,13 +194,6 @@ func resourceIBMSatelliteLocationValidator() *ResourceValidator { Regexp: `^[A-Za-z0-9:_ .-]+$`, MinValueLength: 1, MaxValueLength: 128}) - validateSchema = append(validateSchema, - ValidateSchema{ - Identifier: sateLocZone, - ValidateFunctionIdentifier: ValidateAllowedStringValue, - Type: TypeString, - Optional: false, - AllowedValues: managedFromAllowedValues}) ibmSatelliteLocationValidator := ResourceValidator{ResourceName: "ibm_satellite_location", Schema: validateSchema} return &ibmSatelliteLocationValidator