Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firewall app rules #2532

Merged
merged 18 commits into from
Jan 4, 2019
Merged
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 @@ -208,6 +208,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