Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud-accouts: add a policy for multi-tenancy #166

Merged
merged 1 commit into from
May 8, 2023

Conversation

zugwan
Copy link
Contributor

@zugwan zugwan commented May 3, 2023

클러스터 노드 간 통신을 위해 보안 그룹을 추가할 때 아래와 같이 기존 보안 그룹 정보를 얻어 오는 부분이 존재합니다.

current=$(aws ec2 describe-instance-attribute --attribute "groupSet" --instance-id $instance --output text --query "Groups[].GroupId")

멀티 테넌시 환경에서는 CAPA에서 생성하는 cluster-api 컨트롤러 Role을 사용하며 기본 정책에서 빠져있는 ec2:DescribeInstanceAttribute 권한을 추가하였습니다.

@zugwan zugwan merged commit 32c8b39 into main May 8, 2023
@zugwan zugwan deleted the add_policy_for_multitenancy branch May 8, 2023 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants