Skip to content

Commit 9a7358d

Browse files
authored
docs: link to custom env page from manifest pages and reroute link from commands/env-init (#2416)
This links readers straight to the new custom env page from commands/env-init, rather than to concepts/environments, which then links to the custom env page. This PR also adds links to that page from the relevant manifest pages. Related #2386. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 04ccb51 commit 9a7358d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

site/content/docs/commands/env-init.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $ copilot env init [flags]
66
## What does it do?
77
`copilot env init` creates a new [environment](../concepts/environments.en.md) where your services will live.
88

9-
After you answer the questions, the CLI creates the common infrastructure that's shared between your services such as a VPC, an Application Load Balancer, and an ECS Cluster. Additionally, you can [customize your Copilot environment](../concepts/environments.en.md#customize-your-environment) by either configuring the default environment resources or importing existing resources for your environment.
9+
After you answer the questions, the CLI creates the common infrastructure that's shared between your services such as a VPC, an Application Load Balancer, and an ECS Cluster. Additionally, you can [customize your Copilot environment](../developing/custom-environment-resources.en.md) by either configuring the default environment resources or importing existing resources for your environment.
1010

1111
You create environments using a [named profile](../credentials.en.md#environment-credentials) to specify which AWS account and region you'd like the environment to be in.
1212

site/content/docs/include/common-svc-fields.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Subnets and security groups attached to your tasks.
118118
Must be one of `'public'` or `'private'`. Defaults to launching your tasks in public subnets.
119119

120120
!!! info
121-
If you launch tasks in `'private'` subnets and use a Copilot-generated VPC, Copilot will add NAT Gateways to your environment. Alternatively, you can import a VPC with NAT Gateways when running `copilot env init` for internet connectivity.
121+
If you launch tasks in `'private'` subnets and use a Copilot-generated VPC, Copilot will automatically add NAT Gateways to your environment for internet connectivity. (See [pricing](https://aws.amazon.com/vpc/pricing/).) Alternatively, when running `copilot env init`, you can import an existing VPC with NAT Gateways, or one with VPC endpoints for isolated workloads. See our [custom environment resources](../developing/custom-environment-resources.en.md) page for more.
122122

123123
<span class="parent-field">network.vpc.</span><a id="network-vpc-security-groups" href="#network-vpc-security-groups" class="field">`security_groups`</a> <span class="type">Array of Strings</span>
124124
Additional security group IDs associated with your tasks. Copilot always includes a security group so containers within your environment

site/content/docs/manifest/scheduled-job.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Subnets and security groups attached to your tasks.
148148
Must be one of `'public'` or `'private'`. Defaults to launching your tasks in public subnets.
149149

150150
!!! info
151-
If you launch tasks in `'private'` subnets and use a Copilot-generated VPC, Copilot will add NAT Gateways to your environment. Alternatively, you can import a VPC with NAT Gateways when running `copilot env init` for internet connectivity.
151+
If you launch tasks in `'private'` subnets and use a Copilot-generated VPC, Copilot will automatically add NAT Gateways to your environment for internet connectivity. (See [pricing](https://aws.amazon.com/vpc/pricing/).) Alternatively, when running `copilot env init`, you can import an existing VPC with NAT Gateways, or one with VPC endpoints for isolated workloads. See our [custom environment resources](../developing/custom-environment-resources.en.md) page for more.
152152

153153
<span class="parent-field">network.vpc.</span><a id="network-vpc-security-groups" href="#network-vpc-security-groups" class="field">`security_groups`</a> <span class="type">Array of Strings</span>
154154
Additional security group IDs associated with your tasks. Copilot always includes a security group so containers within your environment

0 commit comments

Comments
 (0)