File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
modules/services/cloud-bench Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,10 @@ data "aws_iam_policy_document" "trust_relationship" {
69
69
resource "aws_iam_role" "cloudbench_role" {
70
70
count = var. is_organizational && ! var. provision_caller_account ? 0 : 1
71
71
72
- name = var. name
73
- assume_role_policy = data. aws_iam_policy_document . trust_relationship . json
74
- tags = var. tags
72
+ name = var. name
73
+ assume_role_policy = data. aws_iam_policy_document . trust_relationship . json
74
+ tags = var. tags
75
+ permissions_boundary = var. permissions_boundary_arn
75
76
}
76
77
77
78
Original file line number Diff line number Diff line change @@ -34,3 +34,9 @@ variable "tags" {
34
34
" product" = " sysdig-secure-for-cloud"
35
35
}
36
36
}
37
+
38
+ variable "permissions_boundary_arn" {
39
+ type = string
40
+ description = " ARN of a permissions boundary policy to attach to the cloudbench role"
41
+ default = null
42
+ }
You can’t perform that action at this time.
0 commit comments