Skip to content

Latest commit

 

History

History

expiration

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

AWS Expiring Savings Plans

What It Does

This policy template reports on any AWS Savings Plans that have expired or are about to expire. Optionally, it emails a copy of this report.

Input Parameters

This policy has the following input parameters required when launching the policy.

  • Email Addresses - enter the number of days you want before the Savings Plan expires.
  • Days Until Expiration - The number of days until expiration to include a Savings Plan in the report. Set to '0' to only report expired Savings Plans.

Policy Actions

The following policy actions are taken on any resources found to be out of compliance.

  • Send an email report

Prerequisites

This Policy Template uses Credentials for authenticating to datasources -- in order to apply this policy you must have a Credential registered in the system that is compatible with this policy. If there are no Credentials listed when you apply the policy, please contact your Flexera Org Admin and ask them to register a Credential that is compatible with this policy. The information below should be consulted when creating the credential(s).

  • AWS Credential (provider=aws) which has the following permissions:

    • savingsplans:DescribeSavingsPlans

    Example IAM Permission Policy:

    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Action": [
                    "savingsplans:DescribeSavingsPlans"
                ],
                "Resource": "*"
            }
        ]
    }
  • Flexera Credential (provider=flexera) which has the following roles:

    • billing_center_viewer

The Provider-Specific Credentials page in the docs has detailed instructions for setting up Credentials for the most common providers.

Supported Clouds

  • AWS

Cost

This policy template does not incur any cloud costs.