stackit_security_group_ruleNivis Nix constructor for the stackit_security_group_rule resource (provider stackit). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
direction,
project_id,
security_group_id,
description ? null,
ether_type ? null,
icmp_parameters ? null,
ip_range ? null,
port_range ? null,
protocol ? null,
region ? null,
remote_security_group_id ? null,
overrides ? {}
}Required arguments
directionproject_idsecurity_group_id
Optional arguments
description(defaults tonull)ether_type(defaults tonull)icmp_parameters(defaults tonull)ip_range(defaults tonull)port_range(defaults tonull)protocol(defaults tonull)region(defaults tonull)remote_security_group_id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
idsecurity_group_rule_id
Example
stackit_security_group_rule {
name = "security_group_rule";
direction = …; # required
project_id = …; # required
security_group_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.