-
Notifications
You must be signed in to change notification settings - Fork 2
Cloudformation: Stack에서 Output value export하기 & export 된 value를 다른 stack에서 import해 오기
TaeSeong Park edited this page Jun 30, 2020
·
6 revisions
-
참고자료
-
frontend/kendra-button-front/amplify/backend/auth/kendrabuttonhosting28eb127d/kendrabuttonhosting28eb127d-cloudformation-template.yml
Outputs : ... UserPoolId: Value: !Ref 'UserPool' Description: Id for the user pool Export: Name: "kendraUserpoolId"
-
amplify push
-
AWS console의 Cloudformation에서 직접 확인
-
참고자료
-
frontend/kendra-button-front/amplify/backend/function/kendrabuttonhosting28eb127dPreSignup/kendrabuttonhosting28eb127dPreSignup-cloudformation-template.json
"lambdaexecutionpolicy": { "DependsOn": [ "LambdaExecutionRole" ], "Type": "AWS::IAM::Policy", "Properties": { "PolicyName": "lambda-execution-policy", "Roles": [ { "Ref": "LambdaExecutionRole" } ], "PolicyDocument": { "Version": "2012-10-17", "Statement": [ ... { "Effect": "Allow", "Action": [ "cognito-idp:ListUsers", "cognito-idp:AdminLinkProviderForUser" ], "Resource": { "Fn::Sub": [ "arn:aws:cognito-idp:${region}:${account}:userpool/${userpool}", { "region": { "Ref": "AWS::Region" }, "account": { "Ref": "AWS::AccountId" }, "userpool": { "Fn::ImportValue": "kendraUserpoolId" } } ] } } ] } } }