Created
February 11, 2025 06:41
-
-
Save gotoweb/4a0b1303cce5d2348497beba7b0ab9fa to your computer and use it in GitHub Desktop.
CloudFormation을 이용한 IAM 역할 생성
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: '2010-09-09' | |
Description: 'LambdaDeploymentRole' | |
Resources: | |
LambdaDeploymentRole: | |
Type: AWS::IAM::Role | |
Properties: | |
RoleName: MLOps-LambdaDeploymentRole | |
Path: "/" | |
ManagedPolicyArns: | |
- "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" | |
- "arn:aws:iam::aws:policy/AmazonSageMakerFullAccess" | |
AssumeRolePolicyDocument: | |
Version: '2012-10-17' | |
Statement: | |
- Effect: Allow | |
Principal: | |
Service: | |
- lambda.amazonaws.com | |
Action: | |
- sts:AssumeRole |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment