Score:0

What's the AppId in the default AWS SAM template (when you create it from the website, not sam init)?

lk flag

I created a SAM application from the AWS website, which yield something slightly different as sam init and in the template.yml it has this:

Parameters:
  AppId:
    Type: String

When I try to deplay manually with sam deploy --guided it asks for the AppId. What is it supposed to be?

The only time it seems to be used is in the same template.yml:

Globals:
  Function:
    PermissionsBoundary: !Sub 'arn:${AWS::Partition}:iam::${AWS::AccountId}:policy/${AppId}-${AWS::Region}-PermissionsBoundary'

Is it supposed to be the name of the app? the name of the app plus stage?

Tim avatar
gp flag
Tim
When you say "created a SAM application from the AWS website" what exactly do you mean? I've used SAM a bit and thought it was used from the console on your local machine only.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.