Skip to content

Instantly share code, notes, and snippets.

@lafusew
Created October 1, 2022 12:41
Show Gist options
  • Save lafusew/c4e4ed32b09d7e91e05f29e6dcc164c3 to your computer and use it in GitHub Desktop.
Save lafusew/c4e4ed32b09d7e91e05f29e6dcc164c3 to your computer and use it in GitHub Desktop.

Revisions

  1. lafusew created this gist Oct 1, 2022.
    38 changes: 38 additions & 0 deletions cf.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,38 @@
    source: ./

    tigger: http

    allow-unauthenticated: true

    runtime: nodejs16

    envs:
    FOO: bar
    FUZZ: buzz

    secrets:
    test:
    env_var: TEST
    version: latest
    firebase_key:
    env_var: FIREBASE_KEY
    version: latest
    tiptop_key:
    env_var: TIPTOP_KEY
    version: latest

    timeout: 10


    max-instances: 300
    min-instances: 10

    memory: 256

    service-account: [email protected]

    gen2: false

    vpc-connector: shared-vpc

    serve-all-traffic-latest-revision: true