aws_savingsplans_savings_plan

Nivis Nix constructor for the aws_savingsplans_savings_plan 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,
  commitment,
  savings_plan_offering_id,
  purchase_time ? null,
  tags ? null,
  upfront_payment_amount ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • commitment
  • savings_plan_offering_id
Optional arguments
  • purchase_time (defaults to null)
  • tags (defaults to null)
  • upfront_payment_amount (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • currency
  • description
  • ec2_instance_family
  • end
  • offering_id
  • payment_option
  • product_types
  • recurring_payment_amount
  • region
  • returnable_until
  • savings_plan_arn
  • savings_plan_id
  • savings_plan_type
  • start
  • state
  • tags_all
  • term_duration_in_seconds
Example
aws_savingsplans_savings_plan {
  name = "savingsplans_savings_plan";
  commitment = …;  # required
  savings_plan_offering_id = …;  # required
}

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