OpenShift 4.12 UPI installation in AWS using terraform with predefined infrastructure

0

Hi, We have a client that wants a very restricted installation of OpenShift 4.12 in AWS with predefined VPC, Security Groups... and doesn't want to grant some permissions to the installer account, for example: iam:PassRole ec2:AuthorizeSecurityGroupIngress ec2:CreateSecurityGroup ec2:RevokeSecurityGroupIngress

The problem of <Iam:PassRole = resource "*" is that they want to make it more granular on the specified resource. We are struggling with that because the resources (instance profiles) are created dynamically during installation so we don't know how to target them beforehand.

And there's also the Security Group problem, we can't figure out how to target predefined SGs in the terraform files. But we are also close.

Any help will be welcome :) Thx

沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南