Giter VIP home page Giter VIP logo

Comments (3)

antonbabenko avatar antonbabenko commented on August 14, 2024

Hi @cemo !

Real deployment to AWS is the best in terms of the quality of the results you can get.

For some AWS services, there are various kinds of emulators that you can use (e.g, for sqs, dynamodb). I used them a couple of times some time ago before getting my head around and focusing on doing real AWS deployments with Terraform.

Terraform users' developer experience is what we (Betajob) are currently working on - see project modules.tf and follow @modulestf for updates.

from serverless.tf.

cemo avatar cemo commented on August 14, 2024

Hi @antonbabenko. In terms of quality of course deploying on AWS would be best. However in order to get a test a simple go function to deploy as a lambda requires substantial amount of time when you compare with local box.
I think terraform based approaches need an orthogonal solution to test lambda + appsync or other modules on local boxes without leaving terraform environment. What I have in my mind is that using probably terraform state or source files to create necessary necessary configurations to these emulators. For example appsync module has all configurations regarding templates. We can read these files or state files to create necessary configs to pass emulators.

from serverless.tf.

antonbabenko avatar antonbabenko commented on August 14, 2024

You can do some of it using localstack combined with Terraform AWS provider but I would not go deeper by parsing terraform state files or anything like that. In my experience, AppSync (as well as the rest of the serverless stack, actually) is hard to emulate.

Maybe someone has other opinions.

from serverless.tf.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.