Skip to content

Commit

Permalink
azurerm_netapp_volume - network_features is Optional/Computed (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
paulomarquesc authored Dec 30, 2024
1 parent c912875 commit 263badf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/netapp/netapp_volume_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func resourceNetAppVolume() *pluginsdk.Resource {
"network_features": {
Type: pluginsdk.TypeString,
Optional: true,
Default: string(volumes.NetworkFeaturesBasic),
Computed: true, // O+C - This is Optional/Computed because the service team is changing network features on the backend to upgrade everyone from Basic to Standard and there is a feature that allows customers to change network features from portal but not the API. This could cause drift that forces data loss that we want to avoid
ValidateFunc: validation.StringInSlice([]string{
string(volumes.NetworkFeaturesBasic),
string(volumes.NetworkFeaturesStandard),
Expand Down

0 comments on commit 263badf

Please sign in to comment.