stackit_security_group_rule

Nivis 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
  • direction
  • project_id
  • security_group_id
Optional arguments
  • description (defaults to null)
  • ether_type (defaults to null)
  • icmp_parameters (defaults to null)
  • ip_range (defaults to null)
  • port_range (defaults to null)
  • protocol (defaults to null)
  • region (defaults to null)
  • remote_security_group_id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
  • security_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.