Skip to content

Creating EC2 AMI and tagging associated snapshots issue via Lambda #268

Discussion options

You must be logged in to vote

@justin-samuel Thanks for posting the question. Since the same command with the ID works locally for you, I'm assuming if it is permissions issue. Could you please check if below helps:

  • Check if the role associated with Lambda has ec2:DescribeImages permission policy attached to it? If not, attach this policy to the Lambda IAM role.
  • Are you getting any exception?
  • Could you also use -Verbose flag with your CmdLet and share the detailed output?

Thanks,
Ashish

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. module/powershell-cmdlets
2 participants