Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add go sample for API Gateway #601

Merged
merged 2 commits into from Mar 11, 2020
Merged

feat: add go sample for API Gateway #601

merged 2 commits into from Mar 11, 2020

Conversation

retgits
Copy link
Contributor

@retgits retgits commented Mar 11, 2020

As discussed with @stack72, here's a PR that adds a Go sample for an AWS Lambda function with API Gateway. This sample extends the existing aws-go-lambda sample with new functionality:

  • Adding an API Gateway
  • Adding an API Gateway method and resource
  • Adding a trigger to the AWS Lambda function
  • Adding an API Gateway Deployment

The result is a deployed API Gateway, which sends messages to the AWS Lambda function and returns the result.

$ curl https://<gateway-id>.execute-api.us-west-2.amazonaws.com/prod/helloworld   
HELLOWORLD

@stack72 stack72 merged commit c8a8fe8 into pulumi:master Mar 11, 2020
@stack72
Copy link
Contributor

stack72 commented Mar 11, 2020

Thanks for your work here @retgits :) I made 1 change locally and then pushed the changes! This is an awesome example!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants