File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 9
9
10
10
| Name | Version |
11
11
| ------| ---------|
12
- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | 5.38.0 |
12
+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | 5.83.1 |
13
13
14
14
## Modules
15
15
16
16
| Name | Source | Version |
17
17
| ------| --------| ---------|
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 |
19
18
| <a name =" module_iam_policy " ></a > [ iam\_ policy] ( #module\_ iam\_ policy ) | terraform-aws-modules/iam/aws//modules/iam-policy | ~ > 4.13.0 |
20
19
21
20
## Resources
22
21
23
22
| Name | Type |
24
23
| ------| ------|
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 |
25
26
| [ 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 |
26
28
27
29
## Inputs
28
30
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ resource "aws_iam_instance_profile" "iam_instance_role" {
13
13
14
14
name = var. role_name
15
15
path = " /"
16
- role = aws_iam_role. iam_assumable_role . name
16
+ role = aws_iam_role. iam_role . name
17
17
18
18
tags = var. tags
19
19
}
@@ -33,6 +33,6 @@ module "iam_policy" {
33
33
resource "aws_iam_role_policy_attachment" "attach" {
34
34
count = length (var. policy ) > 0 ? 1 : 0
35
35
36
- role = module . iam_assumable_role . iam_role_name
36
+ role = aws_iam_role . iam_role . name
37
37
policy_arn = module. iam_policy . arn
38
38
}
Original file line number Diff line number Diff line change 10
10
11
11
| Name | Version |
12
12
| ------| ---------|
13
- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | 5.38.0 |
13
+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | 5.83.1 |
14
14
15
15
## Modules
16
16
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ data "aws_ecs_task_definition" "this" {
73
73
74
74
resource "aws_ecs_service" "this" {
75
75
# 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"
76
77
77
78
name = var. name
78
79
cluster = var. cluster_id
You can’t perform that action at this time.
0 commit comments