Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nathants committed May 23, 2022
1 parent a426ca5 commit 220e7fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/infra.go
Expand Up @@ -1847,23 +1847,23 @@ func InfraEnsureLambda(ctx context.Context, infraSet *InfraSet, quick string, pr
err := lambdaEnsure(ctx, infraLambda, quick != "", preview, showEnvVarValues, lambdaUpdateZipPy, lambdaCreateZipPy)
if err != nil {
Logger.Println("error:", err)
return err
return err
}
} else if strings.HasSuffix(infraLambda.Entrypoint, ".go") {
infraLambda.runtime = lambdaRuntimeGo
infraLambda.handler = "main"
err := lambdaEnsure(ctx, infraLambda, quick != "", preview, showEnvVarValues, lambdaUpdateZipGo, lambdaCreateZipGo)
if err != nil {
Logger.Println("error:", err)
return err
return err
}
} else if strings.Contains(infraLambda.Entrypoint, ".dkr.ecr.") {
infraLambda.runtime = lambdaRuntimeContainer
infraLambda.handler = "main"
err := lambdaEnsure(ctx, infraLambda, quick != "", preview, showEnvVarValues, lambdaUpdateZipFake, lambdaCreateZipFake)
if err != nil {
Logger.Println("error:", err)
return err
return err
}
} else {
err := fmt.Errorf("unknown entrypoint type: %s", infraLambda.Entrypoint)
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -74,9 +74,9 @@ many other entrypoints exist, and can be explored by type. they fall into two ca
1
```

## what about the rest of aws
## pulumi, terraform, cloudformation, and serverless

compared with [the](https://www.pulumi.com/) [full](https://www.terraform.io/) [aws](https://aws.amazon.com/cloudformation/) [api](https://www.serverless.com/), systems specified as [infrastructure sets](#infrastructure-set):
compared with the full aws api exposed by tools like [pulumi](https://www.pulumi.com/), [terraform](https://www.terraform.io/), [cloudformation](https://aws.amazon.com/cloudformation/), and [serverless](https://www.serverless.com/), systems specified as [infrastructure sets](#infrastructure-set):

- [have](https://github.com/nathants/libaws/tree/master/examples/simple/python) [simpler](https://github.com/nathants/libaws/tree/master/examples/simple/go) [examples](https://github.com/nathants/libaws/tree/master/examples/simple/docker).

Expand Down

0 comments on commit 220e7fc

Please sign in to comment.