This is an enormous and very complicated area. The hands on guide says to change the memory limit for the application to make it run faster. So, how do we do this in terraform?
In the project generated from cookiecutter, I can simply edit webapp.tf and change
the webapp module to add memory_limit="1024M"
. Simple, but how do I know I can
do that?
I need to read up on the Terraform language to understand what is going on. It seems there are two types of module. A directory of terraform code is called a Root Module, but within that code are module definitions. These are called Module blocks. So my webapp module defined with the module keyword is a module block.