-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.go
40 lines (34 loc) · 1.12 KB
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// kinesisLambda := labs.GetLambdaInfo(labs.KinesisConsumerLambda)
// labs.NewKinesisLambda(ctx, &labs.KinesisLambdaOptions{
// StreamName: "labs-kinesis-stream",
// ShardCount: 1,
// LambdaName: kinesisLambda.Name,
// LambdaHandlerName: kinesisLambda.HandlerName,
// LambdaPath: kinesisLambda.Path,
// })
// sqsLambda := labs.GetLambdaInfo(labs.SqsPartialReturn)
// labs.NewSQSLambda(ctx, &labs.SQSLambdaOptions{
// QueueName: "labs-sqs-queue",
// LambdaName: sqsLambda.Name,
// LambdaHandlerName: sqsLambda.HandlerName,
// LambdaPath: sqsLambda.Path,
// })
// _, err := labs.NewDmsMysqlPostgres(ctx, &labs.DmsMysqlPostgresOptions{
// AlocatedStorage: 20,
// KeyPairName: "metzger-pair",
// AmiId: "ami-0748d13ffbc370c2b",
// // Fill these before execution
// PostgresUser: "",
// PostgresPass: "",
// MariaDBUser: "",
// MariaDBPassword: "",
// })
return nil
})
}