Skip to content

Commit

Permalink
fix(vpc): corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
RoRoJ committed Dec 20, 2024
1 parent 19b9fe5 commit c7e0c5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion network/vpc/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ meta:
title="VPC Basic Use Case"
>
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.
</Message>

</Alert>

Expand Down
9 changes: 1 addition & 8 deletions network/vpc/reference-content/use-case-basic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Terraform templates for this architecture are provided in full on our [Scaleway

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.

The following snippet shows an extract of the configuration file:
The following snippet shows an extract of one of the templates:

```
resource "scaleway_vpc" "vpc01" {
Expand All @@ -120,13 +120,6 @@ resource "scaleway_vpc_public_gateway" "pgw01" {
bastion_enabled = true
bastion_port = 61000
}
resource "scaleway_ipam_ip" "vpcgw_ip" {
address = cidrhost(local.subnet, 2)
source {
private_network_id = scaleway_vpc_private_network.pn01.id
}
}
```

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

0 comments on commit c7e0c5f

Please sign in to comment.