From 841b49f39343eb2763ca9039b43aac3a5bbb00f3 Mon Sep 17 00:00:00 2001 From: Loren Yu Date: Thu, 14 Dec 2023 10:07:14 -0800 Subject: [PATCH 1/2] Fix typo --- docs/infra/set-up-network.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/infra/set-up-network.md b/docs/infra/set-up-network.md index fa43317d1..6b59d1ebc 100644 --- a/docs/infra/set-up-network.md +++ b/docs/infra/set-up-network.md @@ -8,7 +8,7 @@ The network setup process will configure and deploy network resources needed by ## Requirements -Before setting up the database you'll need to have: +Before setting up the network you'll need to have: 1. [Set up the AWS account](./set-up-aws-account.md) 2. Optionally adjust the configuration for the networks you want to have on your project in the [project-config module](/infra/project-config/main.tf). By default there is configuration for three networks, one for each application environment. By default, there is one network for each application environment. If you have multiple apps and want your applications in separate networks, you may want to give the networks differentiating names (e.g. "foo-dev", "foo-prod", "bar-dev", "bar-prod", instead of just "dev", "prod"). From f8d0404f919c8ffd312e9476e9a09b97c7af3fba Mon Sep 17 00:00:00 2001 From: Loren Yu Date: Thu, 14 Dec 2023 10:10:25 -0800 Subject: [PATCH 2/2] Remove redundant sentence --- docs/infra/set-up-network.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/infra/set-up-network.md b/docs/infra/set-up-network.md index 6b59d1ebc..0e90a07da 100644 --- a/docs/infra/set-up-network.md +++ b/docs/infra/set-up-network.md @@ -11,7 +11,7 @@ The network setup process will configure and deploy network resources needed by Before setting up the network you'll need to have: 1. [Set up the AWS account](./set-up-aws-account.md) -2. Optionally adjust the configuration for the networks you want to have on your project in the [project-config module](/infra/project-config/main.tf). By default there is configuration for three networks, one for each application environment. By default, there is one network for each application environment. If you have multiple apps and want your applications in separate networks, you may want to give the networks differentiating names (e.g. "foo-dev", "foo-prod", "bar-dev", "bar-prod", instead of just "dev", "prod"). +2. Optionally adjust the configuration for the networks you want to have on your project in the [project-config module](/infra/project-config/main.tf). By default there are three networks defined, one for each application environment. If you have multiple apps and want your applications in separate networks, you may want to give the networks differentiating names (e.g. "foo-dev", "foo-prod", "bar-dev", "bar-prod", instead of just "dev", "prod"). 3. [Configure the app](/infra/app/app-config/main.tf). 1. Update `has_database` to `true` or `false` depending on whether or not your application has a database to integrate with. This setting determines whether or not to create VPC endpoints needed by the database layer. 2. Update `has_external_non_aws_service` to `true` or `false` depending on whether or not your application makes calls to an external non-AWS service. This setting determines whether or not to create NAT gateways, which allows the service in the private subnet to make requests to the internet.