aws_savingsplans_savings_planNivis 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
commitmentsavings_plan_offering_id
Optional arguments
purchase_time(defaults tonull)tags(defaults tonull)upfront_payment_amount(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
currencydescriptionec2_instance_familyendoffering_idpayment_optionproduct_typesrecurring_payment_amountregionreturnable_untilsavings_plan_arnsavings_plan_idsavings_plan_typestartstatetags_allterm_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.