Skip to content

Commit ea6b89a

Browse files
authored
feat(vpc): add support for enable_routing (scaleway#2577)
* feat(vpc): add support for enable_routing * lint * update vpc cassettes * update documentdb and lb cassettes * revert lb cassette
1 parent a1db874 commit ea6b89a

File tree

7 files changed

+6343
-2449
lines changed

7 files changed

+6343
-2449
lines changed

docs/resources/vpc.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,32 @@ For more information, see [the documentation](https://www.scaleway.com/en/docs/n
1010

1111
## Example Usage
1212

13+
### Basic
14+
1315
```terraform
1416
resource "scaleway_vpc" "vpc01" {
1517
name = "my-vpc"
1618
tags = ["demo", "terraform"]
1719
}
1820
```
1921

22+
### Enable routing
23+
24+
```terraform
25+
resource "scaleway_vpc" "vpc01" {
26+
name = "my-vpc"
27+
tags = ["demo", "terraform", "routing"]
28+
enable_routing = true
29+
}
30+
```
31+
2032
## Argument Reference
2133

2234
The following arguments are supported:
2335

2436
- `name` - (Optional) The name of the VPC. If not provided it will be randomly generated.
2537
- `tags` - (Optional) The tags associated with the VPC.
38+
- `enable_routing` - (Optional) Enable routing between Private Networks in the VPC. Note that you will not be able to deactivate it afterwards.
2639
- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) of the VPC.
2740
- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the VPC is associated with.
2841

internal/services/documentdb/testdata/private-network-endpoint-migration.cassette.yaml

Lines changed: 3924 additions & 1284 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)