Skip to content

Commit

Permalink
FOPTS-4819 Added hide_skip_approvals to AWS Right Size policies (#2799
Browse files Browse the repository at this point in the history
)

* Added `hide_skip_approvals` field to the info section.

* updated change log description.

---------

Co-authored-by: Ramyad Seraj <RSeraj@flexera.com>
  • Loading branch information
ramyadmz and Ramyad Seraj authored Nov 5, 2024
1 parent 9ae1293 commit b165440
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 20 deletions.
4 changes: 4 additions & 0 deletions cost/aws/rightsize_ebs_volumes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.3.2

- Added `hide_skip_approvals` field to the info section, enabling the UI to dynamically show or hide the "Skip Approval" option. Functionality unchanged.

## v0.3.1

- Minor code improvements to conform with current standards. Functionality unchanged.
Expand Down
5 changes: 3 additions & 2 deletions cost/aws/rightsize_ebs_volumes/aws_rightsize_ebs_volumes.pt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ category "Cost"
severity "low"
default_frequency "weekly"
info(
version: "0.3.1",
version: "0.3.2",
provider: "AWS",
service: "EBS",
policy_set: "Unused Volumes",
recommendation_type: "Usage Reduction"
recommendation_type: "Usage Reduction",
hide_skip_approvals: "true"
)

###############################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ category "Meta"
default_frequency "15 minutes"
info(
provider: "AWS",
version: "0.3.1", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability
version: "0.3.2", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability
publish: "true",
deprecated: "false"
deprecated: "false",
hide_skip_approvals: "true"
)

##############################################################################
Expand Down
4 changes: 4 additions & 0 deletions cost/aws/rightsize_ec2_instances/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v5.3.1

- Added `hide_skip_approvals` field to the info section, enabling the UI to dynamically show or hide the "Skip Approval" option. Functionality unchanged.

## v5.3.0

- Added support for downsizing multiple sizes where appropriate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ severity "low"
category "Cost"
default_frequency "weekly"
info(
version: "5.3.0",
version: "5.3.1",
provider: "AWS",
service: "Compute",
policy_set: "Rightsize Compute Instances",
recommendation_type: "Usage Reduction"
recommendation_type: "Usage Reduction",
hide_skip_approvals: "true"
)

###############################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ category "Meta"
default_frequency "15 minutes"
info(
provider: "AWS",
version: "5.3.0", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability
version: "5.3.1", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability
publish: "true",
deprecated: "false"
deprecated: "false",
hide_skip_approvals: "true"
)

##############################################################################
Expand Down
4 changes: 4 additions & 0 deletions cost/aws/rightsize_elasticache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.2.1

- Added `hide_skip_approvals` field to the info section, enabling the UI to dynamically show or hide the "Skip Approval" option. Functionality unchanged.

## v0.2.0

- Added support for downsizing multiple sizes where appropriate
Expand Down
5 changes: 3 additions & 2 deletions cost/aws/rightsize_elasticache/aws_rightsize_elasticache.pt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ category "Cost"
severity "low"
default_frequency "weekly"
info(
version: "0.2.0",
version: "0.2.1",
provider: "AWS",
service: "Database",
policy_set: "Rightsize Database Instances",
recommendation_type: "Usage Reduction"
recommendation_type: "Usage Reduction",
hide_skip_approvals: "true"
)

###############################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ category "Meta"
default_frequency "15 minutes"
info(
provider: "AWS",
version: "0.2.0", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability
version: "0.2.1", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability
publish: "true",
deprecated: "false"
deprecated: "false",
hide_skip_approvals: "true"
)

##############################################################################
Expand Down
4 changes: 4 additions & 0 deletions cost/aws/rightsize_rds_instances/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v5.5.2

- Added `hide_skip_approvals` field to the info section, enabling the UI to dynamically show or hide the "Skip Approval" option. Functionality unchanged.

## v5.5.1

- Fixed issue where policy template would fail if "db.serverless" instances were found
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ severity "low"
category "Cost"
default_frequency "weekly"
info(
version: "5.5.1",
version: "5.5.2",
provider: "AWS",
service: "RDS",
policy_set: "Rightsize Database Instances",
recommendation_type: "Usage Reduction"
recommendation_type: "Usage Reduction",
hide_skip_approvals: "true"
)

###############################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ category "Meta"
default_frequency "15 minutes"
info(
provider: "AWS",
version: "5.5.1", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability
version: "5.5.2", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability
publish: "true",
deprecated: "false"
deprecated: "false",
hide_skip_approvals: "true"
)

##############################################################################
Expand Down
4 changes: 4 additions & 0 deletions cost/aws/rightsize_redshift/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.1.2

- Added `hide_skip_approvals` field to the info section, enabling the UI to dynamically show or hide the "Skip Approval" option. Functionality unchanged.

## v0.1.1

- Minor code improvements to conform with current standards. Functionality unchanged.
Expand Down
5 changes: 3 additions & 2 deletions cost/aws/rightsize_redshift/aws_rightsize_redshift.pt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ category "Cost"
severity "low"
default_frequency "weekly"
info(
version: "0.1.1",
version: "0.1.2",
provider: "AWS",
service: "Database",
policy_set: "Rightsize Database Instances",
recommendation_type: "Usage Reduction"
recommendation_type: "Usage Reduction",
hide_skip_approvals: "true"
)

###############################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ category "Meta"
default_frequency "15 minutes"
info(
provider: "AWS",
version: "0.1.1", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability
version: "0.1.2", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability
publish: "true",
deprecated: "false"
deprecated: "false",
hide_skip_approvals: "true"
)

##############################################################################
Expand Down

0 comments on commit b165440

Please sign in to comment.