aws_vpc_security_group_ingress_rule

Nivis Nix constructor for the aws_vpc_security_group_ingress_rule resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  ip_protocol,
  security_group_id,
  cidr_ipv4 ? null,
  cidr_ipv6 ? null,
  description ? null,
  from_port ? null,
  prefix_list_id ? null,
  referenced_security_group_id ? null,
  region ? null,
  tags ? null,
  to_port ? null,
  overrides ? {}
}
Required arguments
  • ip_protocol
  • security_group_id
Optional arguments
  • cidr_ipv4 (defaults to null)
  • cidr_ipv6 (defaults to null)
  • description (defaults to null)
  • from_port (defaults to null)
  • prefix_list_id (defaults to null)
  • referenced_security_group_id (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • to_port (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • id
  • security_group_rule_id
  • tags_all
Example
aws_vpc_security_group_ingress_rule {
  name = "vpc_security_group_ingress_rule";
  ip_protocol = …;  # required
  security_group_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.