IRSA 설정

PROJECT_NAME="nestjs-boilerplate"

cat << EOF > $PROJECT_NAME-access-asm.json
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "secretsmanager:BatchGetSecretValue",
                "secretsmanager:ListSecrets"
            ],
            "Resource": "*"
        },
        {
            "Effect": "Allow",
            "Action": [
                "secretsmanager:GetSecretValue"
            ],
            "Resource": [
                "arn:aws:secretsmanager:ap-southeast-1:${ACCOUNT_ID}:secret:${PROJECT_NAME}/production/*"
            ]
        }
    ]
}
EOF

IRSA 동작 딥다이브에서 cli 명령어로 뭐에 매핑되어있는 지 찾아내는 것 추가

Last updated

Was this helpful?