diff --git a/network/vpc/index.mdx b/network/vpc/index.mdx index 2dfa8ca66e..df8420ec0c 100644 --- a/network/vpc/index.mdx +++ b/network/vpc/index.mdx @@ -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. - diff --git a/network/vpc/reference-content/use-case-basic.mdx b/network/vpc/reference-content/use-case-basic.mdx index 9311b8c18d..782a129cbc 100644 --- a/network/vpc/reference-content/use-case-basic.mdx +++ b/network/vpc/reference-content/use-case-basic.mdx @@ -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" { @@ -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/) \ No newline at end of file