mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-13 10:01:08 -04:00
1.1 KiB
1.1 KiB
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| azure | Azure: azure_security_group | docs-azure-resource-security-group | Creates a new network security group within the context of the specified subscription. |
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:
id- The security group ID.label- The identifier for the security group.