Skip to content

Nested stacks example #17

@DavidWells

Description

@DavidWells

From here

plugins:
  - aws-nested-stacks-plugin

resources:
  Resources:
    cognitoFormStack:
      Type: AWS::CloudFormation::Stack
      Properties:
       # ref https://github.com/tgajdoski/serverless-multitenant/tree/2ee23b59a3bc56622c507562524a157df1dab666/user-service/nested-stacks
        TemplateURL: 'https://s3-${self:custom.myRegion}.amazonaws.com/###path###/user-pool-client.cform'
        TimeoutInMinutes: '60'
        Parameters:
          StackPrefix: ${self:custom.myStage}
          PostConfirmationLambdaName:
            "Fn::Join":
              - '-'
              - - ${self:custom.myStage}
                - ${self:service} 
                - 'userConfirmed'
          CustomMessageLambdaName: 
            "Fn::Join":
              - '-'
              - - ${self:custom.myStage}
                - ${self:service}                
                - 'customMessages'
          PreSignUpLambdaName: 
            "Fn::Join":
              - '-'
              - - ${self:custom.myStage}
                - ${self:service}
                - 'preSignUp'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions