Get Service Catalog user/role name in stack

0

Hi,

I am not sure how to get the user/role name in stack when launching the product from service catalog. Any pointers/help?

Thanks Gaurav

1 Answer
0

Hi! Not sure if there is any out of the box solutions for this, but you can use a lambda function as a custom resource in your CF stack to check and return the user/role. Below you can find an example of how you can use CF custom resources: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/walkthrough-custom-resources-lambda-lookup-amiids.html

profile picture
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions