-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added the policy name to cost-savings #876
Added the policy name to cost-savings #876
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my question
@@ -27,7 +28,7 @@ def __init__(self): | |||
self._ec2_operations = EC2Operations(region=self._region) | |||
self._cloudwatch = CloudWatchOperations(region=self._region) | |||
self._resource_pricing = ResourcesPricing() | |||
self.cost_savings_tag = [{'Key': 'cost-savings', 'Value': 'true'}] | |||
self.cost_savings_tag = [{'Key': 'cost-savings', 'Value': self.policy_name}] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it better to create another tag ?
policy:policy_name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need.
cost-savings: policy_name specifies the savings amount on that policy.
182bee8
to
7a88b57
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/LGTM
Type of change
Note: Fill x in []
Description
Replace policy name in cost-savings tag.
For security reasons, all pull requests need to be approved first before running any automated CI