Skip to content

Commit

Permalink
Switching to use the newly available function
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Jul 11, 2019
1 parent ce59a1b commit d2b3c7d
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions azurerm/resource_arm_storage_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,7 @@ func resourceArmStorageQueue() *schema.Resource {
ValidateFunc: validate.NoEmptyStrings,
},

// TODO: switch to using the common deprecated RG name function
"resource_group_name": func() *schema.Schema {
s := azure.SchemaResourceGroupName()
s.Required = false
s.ForceNew = false
s.Optional = true
s.Computed = true
s.Deprecated = "This is no longer used and will be removed in 2.0"
return s
}(),
"resource_group_name": azure.SchemaResourceGroupNameDeprecated(),

"metadata": storage.MetaDataSchema(),

Expand Down

0 comments on commit d2b3c7d

Please sign in to comment.