mirror of
https://github.com/oscarhermoso/terraform-provider-binarylane
synced 2026-10-21 06:06:07 +11:00
51 lines
1.1 KiB
Markdown
51 lines
1.1 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "binarylane_vpc Resource - terraform-provider-binarylane"
|
|
subcategory: ""
|
|
description: |-
|
|
|
|
---
|
|
|
|
# binarylane_vpc (Resource)
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "binarylane_vpc" "example" {
|
|
name = "tf-example-vpc"
|
|
ip_range = "10.240.0.0/16"
|
|
}
|
|
|
|
resource "binarylane_server" "example" {
|
|
# ...
|
|
vpc_id = binarylane_vpc.example.id
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `name` (String) A name to help identify this VPC.
|
|
|
|
### Optional
|
|
|
|
- `ip_range` (String) A private address range that you select during creation, such as the default value of 10.240.0.0/16. Because the virtual network is dedicated to your use, you may use whatever IP address range you like.
|
|
|
|
### Read-Only
|
|
|
|
- `id` (Number) The target vpc id.
|
|
|
|
## Import
|
|
|
|
Import is supported using the following syntax:
|
|
|
|
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
|
|
|
|
```shell
|
|
terraform import binarylane_vpc.example "<vpc_id>"
|
|
```
|