service: get-secrets

frameworkVersion: '3'

provider:
  name: aws
  runtime: python3.8
  region: af-south-1
  stage: staging
  deploymentBucket:
    name: click-staging-serverless-deployment
    serverSideEncryption: AES256  
  iam:
    role: arn:aws:iam::960234982993:role/click_lambda  # must validly reference a role defined in your account
  vpc:
    securityGroupIds:
      - sg-0470aacf16ea3329b
    subnetIds:
      - subnet-02e3129ae35cebe65
      - subnet-06dddb3da043819e7

custom:
  deploymentBucket:
    versioning: true
    blockPublicAccess: tru
    
functions:
  hello:
    handler: handler.hello
    name: get-secrets
    description: get-secrets
    memorySize: 512 # optional, in MB, default is 1024
    timeout: 10 # optional, in seconds, default is 6    