Giter Site home page Giter Site logo

limber's Introduction

Create a file called limber.yaml with the following configuration:

cloud:
    provider: google
    project: "<project name>"
    region: "europe-west1"
    key_file: "<path to key_file>"
    default_bucket: "<gcp cloud storage bucket name>"

In the main directory run:

  1. python -m limber init
  2. python -m limber terraform login
  3. python -m limber plan
  4. python -m limber apply

Google Cloud APIs enabled

  1. CloudFunctions API
  2. PubSub API
  3. CloudScheduler API
  4. Cloud Build API
  5. Secret manager API

Other

  1. Create app engine in your project: https://console.cloud.google.com/appengine

Service account needed roles:

  1. Pub/Sub Editor
  2. Service Account User
  3. Cloud Scheduler Admin
  4. Cloud Functions Developer
  5. Storage Admin
  6. Secret Manager Admin

limber's People

Contributors

stijnzanders avatar

Watchers

 avatar

limber's Issues

Auto version updating

Automatically update the package version based on PR merges in master and production

Each cloud function gets updated at deployment

Only the ones changing should be updated.

Issue is because the hash is attached to the end of the file name like #1d19745ab496efc96a5e00c4ac7dbc2e, this hash is not stored in GCP cloud, hence an update is always required.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.