NOTE: The Azure Service Management Provider has been
superseded by the Azure Resource Manager Provider
and is no longer being actively developed by HashiCorp employees. It continues to be supported by the community.
We recommend using the Azure Resource Manager
based Microsoft Azure Provider
if possible.
» azure_security_group
Creates a new network security group within the context of the specified subscription.
» Example Usage
resource "azure_security_group" "web" {
name = "webservers"
location = "West US"
}
» Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the security group. Changing this forces a new resource to be created. -
label
- (Optional) The identifier for the security group. The label can be up to 1024 characters long. Changing this forces a new resource to be created (defaults to the security group name) -
location
- (Required) The location/region where the security group is created. Changing this forces a new resource to be created.
» Attributes Reference
The following attributes are exported: