Terraform + Serverless

aws

#1

I have been taking a look at serverless’ github repo, and I see a lot of requests to add functionality to handle infrastructure creation.

For my projects I have decided to use serverless framework to deploys and handle infrastructure of: lambdas, apigateways, sns, cloudwatch events, it goes very sweet.

Any other infrastructure is managed via terraform (iam roles, policies attachments, dynamodb tables…etc).

Handling lambda functions integrations with apigateways via terraform is painful, so serverless has been a great gain. For other infrastructure terraform plans and terraform state works wonderfully.

Just want to get your thoughts/experience on that.


#2

This topic has been discussed: Terraform with the Serverless Framework

take a look first.