aws_ec2_secondary_networkNivis Nix constructor for the aws_ec2_secondary_network 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,
ipv4_cidr_block,
network_type,
region ? null,
tags ? null,
timeouts ? null,
overrides ? {}
}Required arguments
ipv4_cidr_blocknetwork_type
Optional arguments
region(defaults tonull)tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnidipv4_cidr_block_associationsowner_idsecondary_network_idstatetags_all
Example
aws_ec2_secondary_network {
name = "ec2_secondary_network";
ipv4_cidr_block = …; # required
network_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.