Meet OPSd. The unique and effortless way of managing cloud infrastructure.
What does the module provide?
module "module_name" {
source = "github.com/opsd-io/terraform-module-digitalocean-vpc"
# Variables
name = "your-vpc"
region = "nyc3"
ip_range = "192.168.0.0/24"
description = "VPC added by terraform module"
}
IMPORTANT: Make sure not to pin to master because there may be breaking changes between releases.
Name | Version |
---|---|
terraform | >= 1.5.5 |
digitalocean | >= 2.17.0 |
Name | Version |
---|---|
digitalocean | >= 2.17.0 |
No modules.
Name | Type |
---|---|
digitalocean_vpc.main | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
delete_timeout | Custom timeout to avoid Can not delete VPC with members issue. |
string |
"10m" |
no |
description | Description of your VPC. | string |
null |
no |
ip_range | Resources created in this VPC will be assigned a private IP for secure communication within the specified range. | string |
n/a | yes |
region | VPC networks can only contain resources that are in the same datacenter region. | string |
n/a | yes |
vpc_name | A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only. | string |
n/a | yes |
Name | Description |
---|---|
default | A boolean indicating whether or not the VPC is the default one for the region. |
id | The unique identifier for the VPC. |
ip_range | The range of IP addresses in the VPC in CIDR notation. |
name | The name of the VPC. |
region | The region slug for the VPC's location. |
urn | The uniform resource name (URN) for the VPC. |
Do you want to see how the module works? See all the usage examples.
The list of related modules (if present).
If you are interested in contributing to the project, see see our guide.
If you have a problem with the module or want to propose a new feature, you can report it via the project's (Github) issue tracker.
If you want to discuss something in person, you can join our community on Slack.