Skip to content

Commit

Permalink
fix: Modify to use the validation utility
Browse files Browse the repository at this point in the history
  • Loading branch information
sugar-cat7 committed Apr 15, 2024
1 parent 354ebe6 commit 36498b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/containerapps/helpers/container_apps.go
Expand Up @@ -484,7 +484,7 @@ func ContainerAppIngressIpSecurityRestriction() *pluginsdk.Schema {
"ip_address_range": {
Type: pluginsdk.TypeString,
Required: true,
ValidateFunc: validation.IsIPAddressOrCIDR,
ValidateFunc: validation.Any(validation.IsCIDR, validation.IsIPAddress),
Description: "CIDR notation to match incoming IP address.",
},

Expand Down

0 comments on commit 36498b6

Please sign in to comment.