Skip to content

Commit 5628638

Browse files
author
“Subramanian
committed
Fix warnings
1 parent 80c8b40 commit 5628638

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

modules/iam/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,22 @@
99

1010
| Name | Version |
1111
|------|---------|
12-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.38.0 |
12+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.83.1 |
1313

1414
## Modules
1515

1616
| Name | Source | Version |
1717
|------|--------|---------|
18-
| <a name="module_iam_assumable_role"></a> [iam\_assumable\_role](#module\_iam\_assumable\_role) | terraform-aws-modules/iam/aws//modules/iam-assumable-role | ~> 4.13.0 |
1918
| <a name="module_iam_policy"></a> [iam\_policy](#module\_iam\_policy) | terraform-aws-modules/iam/aws//modules/iam-policy | ~> 4.13.0 |
2019

2120
## Resources
2221

2322
| Name | Type |
2423
|------|------|
24+
| [aws_iam_instance_profile.iam_instance_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_instance_profile) | resource |
25+
| [aws_iam_role.iam_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
2526
| [aws_iam_role_policy_attachment.attach](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |
27+
| [aws_iam_policy_document.assume_role_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
2628

2729
## Inputs
2830

modules/iam/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ resource "aws_iam_instance_profile" "iam_instance_role" {
1313

1414
name = var.role_name
1515
path = "/"
16-
role = aws_iam_role.iam_assumable_role.name
16+
role = aws_iam_role.iam_role.name
1717

1818
tags = var.tags
1919
}
@@ -33,6 +33,6 @@ module "iam_policy" {
3333
resource "aws_iam_role_policy_attachment" "attach" {
3434
count = length(var.policy) > 0 ? 1 : 0
3535

36-
role = module.iam_assumable_role.iam_role_name
36+
role = aws_iam_role.iam_role.name
3737
policy_arn = module.iam_policy.arn
3838
}

modules/service/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
| Name | Version |
1212
|------|---------|
13-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.38.0 |
13+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.83.1 |
1414

1515
## Modules
1616

modules/service/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ data "aws_ecs_task_definition" "this" {
7373

7474
resource "aws_ecs_service" "this" {
7575
#checkov:skip=CKV_AWS_332: Already defaulting to latest FARGATE platform version
76+
#checkov:skip=CKV_AWS_333: "Ensure ECS services do not have public IP addresses assigned to them automatically"
7677

7778
name = var.name
7879
cluster = var.cluster_id

0 commit comments

Comments
 (0)