LoginSignup
7
3

More than 5 years have passed since last update.

apexでLambdaを管理している際に指定のVPCで動かすための設定

Posted at

apexとは

AWSのLambdaを管理するモノ

VPCの設定

source: https://github.com/apex/apex/blob/master/vpc/vpc.go
document: http://apex.run (vpc)

setting

.
├── functions
│   └── foo
│       ├── function.json
│       ├── main.go
└── project.json
function.json
{
  "vpc": {
    "securityGroups": ["sg-XXXXXXXX"],
    "subnets": ["subnet-XXXXXXXX", "subnet-XXXXXXXX"]
  }
}

このようにfunction.jsonを記述することで可能になる。

7
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
3