Skip to content

Commit fc2b216

Browse files
committed
add permissions_boundary var to rift role
1 parent dfa715f commit fc2b216

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

rift_compute/iam.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ resource "aws_iam_role" "rift_compute_manager" {
1717
}
1818
]
1919
})
20+
permissions_boundary = var.rift_role_permissions_boundary_arn
2021
}
2122

2223
resource "aws_iam_policy" "manage_rift_compute" {

rift_compute/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,9 @@ variable "additional_s3_read_access_buckets" {
149149
description = "List of additional S3 bucket names in the dataplane account that the rift compute role should have read access to. The role will be granted GetObject, ListBucket, HeadObject, and HeadBucket permissions for these buckets."
150150
default = []
151151
}
152+
153+
variable "rift_role_permissions_boundary_arn" {
154+
type = string
155+
description = "ARN of the policy that is used to set the permissions boundary for the rift compute role"
156+
default = null
157+
}

0 commit comments

Comments
 (0)