Skip to content

Commit c7e0c5f

Browse files
committed
fix(vpc): corrections
1 parent 19b9fe5 commit c7e0c5f

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

network/vpc/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ meta:
99
title="VPC Basic Use Case"
1010
>
1111
Read our [Basic VPC use case](/network/vpc/reference-content/use-case-basic/) documentation for full details of how to create a simple infrastructure that leverages the advantages of Private Networks, including accompanying Terraform templates.
12-
</Message>
1312

1413
</Alert>
1514

network/vpc/reference-content/use-case-basic.mdx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Terraform templates for this architecture are provided in full on our [Scaleway
9595

9696
The templates include an example "Task Tracker" application to show how the infrastructure is used. The application is containerized using Docker, deployed on an Instance in the Private Network and leverages PostgreSQL for data storage. Full instructions are provided for creating the infrastructure with Terraform and deploying the test application.
9797

98-
The following snippet shows an extract of the configuration file:
98+
The following snippet shows an extract of one of the templates:
9999

100100
```
101101
resource "scaleway_vpc" "vpc01" {
@@ -120,13 +120,6 @@ resource "scaleway_vpc_public_gateway" "pgw01" {
120120
bastion_enabled = true
121121
bastion_port = 61000
122122
}
123-
124-
resource "scaleway_ipam_ip" "vpcgw_ip" {
125-
address = cidrhost(local.subnet, 2)
126-
source {
127-
private_network_id = scaleway_vpc_private_network.pn01.id
128-
}
129-
}
130123
```
131124

132125
[See the full Terraform templates](https://github.com/scaleway/terraform-examples/tree/main/demo-vpc-app/)

0 commit comments

Comments
 (0)