aws_ec2_subnet_cidr_reservationNivis Nix constructor for the aws_ec2_subnet_cidr_reservation 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,
cidr_block,
reservation_type,
subnet_id,
description ? null,
id ? null,
region ? null,
overrides ? {}
}Required arguments
cidr_blockreservation_typesubnet_id
Optional arguments
description(defaults tonull)id(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
owner_id
Example
aws_ec2_subnet_cidr_reservation {
name = "ec2_subnet_cidr_reservation";
cidr_block = …; # required
reservation_type = …; # required
subnet_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.