aws_ec2_subnet_cidr_reservation

Nivis 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_block
  • reservation_type
  • subnet_id
Optional arguments
  • description (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
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.