File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ jobs:
218218 aws-region : ${{ secrets.AWS_REGION }}
219219 aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
220220 aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
221- instance-ids : " i-094fd5f8988b7330b "
221+ instance-ids : " i-084a4704f4e017cc4 "
222222 working-directory : /
223223 comment : Deploy
224224 command : |
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ resource "aws_iam_role_policy_attachment" "s3_full_access" {
171171# EC2 역할에 AmazonEC2RoleforSSM 정책을 부착
172172resource "aws_iam_role_policy_attachment" "ec2_ssm" {
173173 role = aws_iam_role. ec2_role_1 . name
174- policy_arn = " arn:aws:iam::aws:policy/service-role/AmazonEC2RoleforSSM "
174+ policy_arn = " arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore "
175175}
176176
177177# IAM 인스턴스 프로파일 생성
You can’t perform that action at this time.
0 commit comments