-
Notifications
You must be signed in to change notification settings - Fork 2
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
배포 환경 구현 #1
Labels
Comments
IAM 관련 오류 infra-hihahayoung으로 aws configure를 마치고 $ aws eks update-kubeconfig --region ap-northeast-2 --name ticketing-eks
Updated context arn:aws:eks:ap-northeast-2:213060417361:cluster/ticketing-eks in /home/vscode/.kube/config
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
ip-10-0-73-107.ap-northeast-2.compute.internal Ready <none> 2m11s v1.27.3-eks-a5565ad
ip-10-0-93-166.ap-northeast-2.compute.internal Ready <none> 3m54s v1.27.3-eks-a5565ad eks-admin-hihahayoung 으로 aws configure를 마치고 $ aws eks update-kubeconfig --region ap-northeast-2 --name ticketing-eks
An error occurred (AccessDeniedException) when calling the DescribeCluster operation: User: arn:aws:iam::213060417361:user/hihahayoung is not authorized to perform: eks:DescribeCluster on resource: arn:aws:eks:ap-northeast-2:213060417361:cluster/ticketing-eks |
|
해당 문제는 hihahayoung 계정이 저희가 이미 생성해 놓은 eks-admin 계정을 Assume하지 못해 발생합니다. 도대체 왜??
|
ticketing-infra-iam-group KMS 권한 이슈Plan: 5 to add, 0 to change, 0 to destroy.
╷
│ Error: reading KMS Key (08f9d650-7c2a-462d-9d5e-cb578ab15bca): reading KMS Key (08f9d650-7c2a-462d-9d5e-cb578ab15bca): AccessDeniedException: User: arn:aws:iam::213060417361:user/ticketing-junha is not authorized to perform: kms:DescribeKey on resource: arn:aws:kms:ap-northeast-2:213060417361:key/08f9d650-7c2a-462d-9d5e-cb578ab15bca because no resource-based policy allows the kms:DescribeKey action
│ status code: 400, request id: 8c37d1ce-0c2c-4d28-8912-dba304d865ef
│
│ with module.eks.module.kms.aws_kms_key.this[0],
│ on .terraform/modules/eks.kms/main.tf line 8, in resource "aws_kms_key" "this":
│ 8: resource "aws_kms_key" "this" {
│ https://registry.terraform.io/modules/terraform-aws-modules/ecr/aws/latest
필요 예상 작업
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
학습 내용을 통해 아래와 같은 CD pipeline 및 인프라 구성도 작성
To do
다음 이슈
Test Checklist
The text was updated successfully, but these errors were encountered: