Skip to content

Instantly share code, notes, and snippets.

@ghsatpute
Created July 16, 2020 11:19
Show Gist options
  • Save ghsatpute/c5ada215e1795cdd2efd7e928f8c0265 to your computer and use it in GitHub Desktop.
Save ghsatpute/c5ada215e1795cdd2efd7e928f8c0265 to your computer and use it in GitHub Desktop.
Serverless Deploy in Existing Stack

Serverless Deploy in Existing CloudFormation Stack

provider:
  name: aws
  region: us-west-2
  runtime: python3.6
  stage: ${opt:stage, 'dev'}
  vpc:
    securityGroupIds:
      - 'Fn::ImportValue': '<existingStackName>-<stack output for Security Group ID>'
    subnetIds:
      - 'Fn::ImportValue': '<existingStackName>-<stack output for subnet ID ID>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment