diff --git a/go.mod b/go.mod index a6606d92dca8..9ad864737536 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/golang-jwt/jwt/v4 v4.5.0 github.com/google/go-cmp v0.6.0 github.com/google/uuid v1.6.0 - github.com/hashicorp/go-azure-helpers v0.70.0 + github.com/hashicorp/go-azure-helpers v0.70.1 github.com/hashicorp/go-azure-sdk/resource-manager v0.20240715.1103416 github.com/hashicorp/go-azure-sdk/sdk v0.20240715.1103416 github.com/hashicorp/go-hclog v1.6.3 diff --git a/go.sum b/go.sum index 01be6b614162..8ae94e005fb1 100644 --- a/go.sum +++ b/go.sum @@ -91,8 +91,8 @@ github.com/hashicorp/errwrap v0.0.0-20180715044906-d6c0cd880357/go.mod h1:YH+1FK github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-azure-helpers v0.70.0 h1:3wvA/KLT1utHkgiz6hR426/wl+61Eg144/ba5dE39k8= -github.com/hashicorp/go-azure-helpers v0.70.0/go.mod h1:BmbF4JDYXK5sEmFeU5hcn8Br21uElcqLfdQxjatwQKw= +github.com/hashicorp/go-azure-helpers v0.70.1 h1:7hlnRrZobMZxpOzdlNEsayzAayj/KRG4wpDS1jgo4GM= +github.com/hashicorp/go-azure-helpers v0.70.1/go.mod h1:BmbF4JDYXK5sEmFeU5hcn8Br21uElcqLfdQxjatwQKw= github.com/hashicorp/go-azure-sdk/resource-manager v0.20240715.1103416 h1:TEAZyGtJoBPIxE0bif+fjLE0SurzU95pOTM0CILUnh0= github.com/hashicorp/go-azure-sdk/resource-manager v0.20240715.1103416/go.mod h1:8rhCtgnQvMPQEhKxYJjdxAEhodA9sOT+GzVRvzJYYvk= github.com/hashicorp/go-azure-sdk/sdk v0.20240715.1103416 h1:84S+8LdbZLDAUo1+dOr2lq13/hIzHnPxX/QokzGDKo4= diff --git a/vendor/github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema/resource_id_reference.go b/vendor/github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema/resource_id_reference.go index e882ec45cf93..e957d11ecd83 100644 --- a/vendor/github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema/resource_id_reference.go +++ b/vendor/github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema/resource_id_reference.go @@ -19,6 +19,14 @@ func ResourceIDReferenceOptional(id resourceids.ResourceId) *schema.Schema { } } +// ResourceIDReferenceElem returns the schema for a Resource ID Reference which is compatible with the Elem of lists and sets. +func ResourceIDReferenceElem(id resourceids.ResourceId) *schema.Schema { + return &schema.Schema{ + Type: schema.TypeString, + ValidateFunc: validationFunctionForResourceID(id), + } +} + // ResourceIDReferenceOptionalForceNew returns the schema for a Resource ID Reference // which is both Optional and ForceNew. func ResourceIDReferenceOptionalForceNew(id resourceids.ResourceId) *schema.Schema { diff --git a/vendor/modules.txt b/vendor/modules.txt index 6b9660a43cc6..0bc4a3ca9a48 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -130,7 +130,7 @@ github.com/google/uuid # github.com/hashicorp/errwrap v1.1.0 ## explicit github.com/hashicorp/errwrap -# github.com/hashicorp/go-azure-helpers v0.70.0 +# github.com/hashicorp/go-azure-helpers v0.70.1 ## explicit; go 1.21 github.com/hashicorp/go-azure-helpers/eventhub github.com/hashicorp/go-azure-helpers/lang/dates