Skip to content

Commit ac58095

Browse files
authored
fix: allow detach instance profile (#117)
## Motivation Karpenter need manage the instance profile directly rather than managed node groups. The role is managed here: https://github.com/streamnative/terraform-aws-cloud/blob/master/main.tf#L435 Signed-off-by: Max Xu <[email protected]>
1 parent 109c9e4 commit ac58095

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/aws/vendor-access/files/provision2.json.tpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@
217217
"Resource": [
218218
"arn:${partition}:iam::${account_id}:role/StreamNative/*",
219219
"arn:${partition}:iam::${account_id}:policy/StreamNative/*",
220-
"arn:${partition}:iam::${account_id}:oidc-provider/*"
220+
"arn:${partition}:iam::${account_id}:oidc-provider/*",
221+
"arn:${partition}:iam::${account_id}:instance-profile/*"
221222
],
222223
"Condition": {
223224
"StringEquals": {

0 commit comments

Comments
 (0)