Skip to content

Commit

Permalink
r/storage_account: defaulting the default_action field to 'Allow'
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Aug 8, 2019
1 parent 78184b9 commit fa87039
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions azurerm/resource_arm_storage_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ func resourceArmStorageAccount() *schema.Resource {

"network_rules": {
Type: schema.TypeList,
MaxItems: 1,
Optional: true,
Computed: true,
MaxItems: 1,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"bypass": {
Expand Down Expand Up @@ -205,7 +206,7 @@ func resourceArmStorageAccount() *schema.Resource {

"default_action": {
Type: schema.TypeString,
Optional: true,
Required: true,
ValidateFunc: validation.StringInSlice([]string{
string(storage.DefaultActionAllow),
string(storage.DefaultActionDeny),
Expand Down

0 comments on commit fa87039

Please sign in to comment.