Virtual Private Cloud (VPC)
The first step in order to deploy the application in AWS, is to create a Amazon Virtual Private Cloud (Amazon VPC). This allows us to place all the resources in a logically isolated virtual network.
Like you have seen before, the code is split into two pieces:
However, here we are not only relying on the AWS Terraform Provider, but also on additional terrform modules. We are using the open-source Terraform AWS modules for this. In this particular case, the AWS VPC Terraform module.
The following code snippet shows how we reference the external module:
infrastructure-modules/networking/vpc/main.tf
loading...