1.4 KiB
1.4 KiB
| page_title | subcategory | description |
|---|---|---|
| stackit_security_group Data Source - stackit | Security group datasource schema. Must have a region specified in the provider configuration. |
stackit_security_group (Data Source)
Security group datasource schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_security_group" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
security_group_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Schema
Required
project_id(String) STACKIT project ID to which the security group is associated.security_group_id(String) The security group ID.
Optional
region(String) The resource region. If not defined, the provider region is used.
Read-Only
description(String) The description of the security group.id(String) Terraform's internal resource ID. It is structured as "project_id,region,security_group_id".labels(Map of String) Labels are key-value string pairs which can be attached to a resource containername(String) The name of the security group.stateful(Boolean) Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server.