Skip to content

Instantly share code, notes, and snippets.

@sergiolucero
Created February 16, 2022 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergiolucero/c5b58934e1bf0afb9f3432f730921922 to your computer and use it in GitHub Desktop.
Save sergiolucero/c5b58934e1bf0afb9f3432f730921922 to your computer and use it in GitHub Desktop.
Chalice + GCP = Goblet
from goblet import Goblet, goblet_entrypoint
app = Goblet(function_name="goblet_example")
goblet_entrypoint(app)
@app.route('/home')
def home():
return {"hello": "world"}
@sergiolucero
Copy link
Author

goblet deploy -l us-central1

@sergiolucero
Copy link
Author

@sergiolucero
Copy link
Author

remember to set all those permissions...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment