Skip to content
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

AWS | CME IAM role | add ec2:DescribeRegions permission #370

Merged
merged 2 commits into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion aws/templates/general/cme-iam-role.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AWSTemplateFormatVersion: 2010-09-09
Description: Creates an IAM role for selected permissions (20230926)
Description: Creates an IAM role for selected permissions (20240507)
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
Expand Down Expand Up @@ -82,6 +82,7 @@ Resources:
- Effect: Allow
Action:
- autoscaling:DescribeAutoScalingGroups
- ec2:DescribeRegions
- ec2:DescribeCustomerGateways
- ec2:DescribeInstances
- ec2:DescribeNetworkInterfaces
Expand Down
9 changes: 5 additions & 4 deletions terraform/aws/cme-iam-role-gwlb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,11 @@ secret_key = "my-secret-key"
## Revision History
In order to check the template version, please refer to [sk116585](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk116585)

| Template Version | Description |
|------------------|--------------------------------------------------------------------|
| 20230926 | CME instance profile for IAM Role |
| 20231012 | Update AWS Terraform provider version to 5.20.1 |
| Template Version | Description |
|------------------|-------------------------------------------------------------------|
| 20230926 | CME instance profile for IAM Role |
| 20231012 | Update AWS Terraform provider version to 5.20.1 |
| 20240507 | Add ec2:DescribeRegions read permission to the IAM role policy |


## License
Expand Down
1 change: 1 addition & 0 deletions terraform/aws/cme-iam-role-gwlb/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ data "aws_iam_policy_document" "cme_role_read_policy_doc" {
effect = "Allow"
actions = [
"autoscaling:DescribeAutoScalingGroups",
"ec2:DescribeRegions",
"ec2:DescribeInstances",
"ec2:DescribeNetworkInterfaces",
"ec2:DescribeRouteTables",
Expand Down
2 changes: 1 addition & 1 deletion terraform/aws/cme-iam-role/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ In order to check the template version, please refer to [sk116585](https://suppo
| 20210309 | First release of Check Point CME IAM Role Terraform module for AWS |
| 20230514 | CME instance profile for IAM Role |
| 20231012 | Update AWS Terraform provider version to 5.20.1 |

| 20240507 | Add ec2:DescribeRegions read permission to the IAM role policy |


## License
Expand Down
1 change: 1 addition & 0 deletions terraform/aws/cme-iam-role/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ data "aws_iam_policy_document" "cme_role_read_policy_doc" {
effect = "Allow"
actions = [
"autoscaling:DescribeAutoScalingGroups",
"ec2:DescribeRegions",
"ec2:DescribeCustomerGateways",
"ec2:DescribeInstances",
"ec2:DescribeNetworkInterfaces",
Expand Down
Loading