- Added logic required for "Meta Policy" use-cases
- Deprecated
auth_rs
authentication (type:rightscale
) and replaced withauth_flexera
(type:oauth2
). This is a breaking change which requires a Credential forauth_flexera
[provider=flexera
] before the policy can be applied. Please see docs for setting up Provider-Specific Credentials - Modified
sys_log
definition to disablers_cm.audit_entry.create
outside Flexera NAM - Replaced references
github.com/rightscale/policy_templates
andgithub.com/flexera/policy_templates
withgithub.com/flexera-public/policy_templates
- Added accountName call and field
- updated fields to match new field conventions of camel-case
- Added filter for DescribeRegion to only return regions that are
opted-in
oropt-in-not-required
[excludenot-opted-in
] in the current AWS account.
- Updated savings_currency to savingsCurrency
- Added default to aws_account_number parameter to enable existing API users.
- Added support for a single AWS STS Cross account role to be used for multiple policies.
- Improve savings calculations by using the AWS Pricing API which is significantly faster and more memory efficient than retrieving the AWS price sheet JSON file
- applying data normalization updates for spend recommendations api. this change breaks current iterations expecting specific output types being pushed.
- Normalizing fields for recommendations:
- Renamed 'all_tags' to 'tags'
- Renamed 'accountId' to 'accountID'
- Renamed 'id' to 'resourceID'
- Changed 'savings' to be a plain number
- Added 'savings_currency' to record the currency symbol.
- Added a 'service' field, hardcoded to "EC2"
- updated README.md rightscale documentation links with docs.flexera documentation links
- Added default_frequency "daily"
- Improve error handling and debug logging so that errors from taking action are actually surfaced
- Add a
param_log_to_cm_audit_entries
parameter to control whether action debug logging is sent to CM Audit Entries; this should be left set to No on Flexera EU
- Modified policy to use per hour cost for unused IP from AWS pricing document for calculating estimated savings.
- Added a new input parameter to enter regions in order to support SCP (Service Control Policy) and CIS Standards
- Modified escalation label and description for consistency
- Uncommenting allowed_values for
param_automatic_action
- Added AWS Account ID to resource table
- Exclude Elastic IPs that have an Association ID
- Use
DescribeAddresses
instead ofDescribeRegions
to more accurately check if the call is enabled by the Service Control Policy in each region
- formatted the incident detail message to display if no savings data available
- Included Total Estimated Monthly Savings in the incident detail messages
- Added EC2 DescribeRegions API action to get only Service Control Policy enabled Regions
- corrected the Exclude Tags parameter description
- corrected the tag format
- fix description
- Fix typo in parameter name to
param_exclude_tags
- initial release