aws_vpc_security_group_ingress_ruleNivis 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_protocolsecurity_group_id
Optional arguments
cidr_ipv4(defaults tonull)cidr_ipv6(defaults tonull)description(defaults tonull)from_port(defaults tonull)prefix_list_id(defaults tonull)referenced_security_group_id(defaults tonull)region(defaults tonull)tags(defaults tonull)to_port(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnidsecurity_group_rule_idtags_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.