Skip to content

Commit

Permalink
Merge pull request #2532 from hbuckle/firewall_app_rules
Browse files Browse the repository at this point in the history
Firewall app rules
  • Loading branch information
katbyte authored Jan 4, 2019
2 parents 9203f92 + c485797 commit 577b2f7
Show file tree
Hide file tree
Showing 9 changed files with 1,336 additions and 24 deletions.
8 changes: 8 additions & 0 deletions azurerm/helpers/set/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,11 @@ func ToSliceInt32P(set *schema.Set) *[]int32 {

return &slice
}

func FromStringSlice(slice []string) *schema.Set {
set := &schema.Set{F: schema.HashString}
for _, v := range slice {
set.Add(v)
}
return set
}
1 change: 1 addition & 0 deletions azurerm/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ func Provider() terraform.ResourceProvider {
"azurerm_express_route_circuit_peering": resourceArmExpressRouteCircuitPeering(),
"azurerm_firewall": resourceArmFirewall(),
"azurerm_firewall_network_rule_collection": resourceArmFirewallNetworkRuleCollection(),
"azurerm_firewall_application_rule_collection": resourceArmFirewallApplicationRuleCollection(),
"azurerm_function_app": resourceArmFunctionApp(),
"azurerm_image": resourceArmImage(),
"azurerm_iothub": resourceArmIotHub(),
Expand Down
Loading

0 comments on commit 577b2f7

Please sign in to comment.