vpc

darzanebor/vpc/yandex

Terraform Module HCL YANDEX

Yandex.Cloud Terraform VPC module

Install
module "vpc" {
source = "darzanebor/vpc/yandex"
version = "0.0.1"
}
plain text: /constructs/tfmod-darzanebor-vpc-yandex/install.txt
⭐ Source on GitHub 📦 Registry page
README

Yandex.Cloud Terraform VPC module Example `` module "vpc" { source = "github.com/darzanebor/terraform-yandex-vpc.git" name = "my-vpc" folder_id = "my-folder-id" create_custom_route_table = true create_default_security_group = true vpc_labels = { env = "production" } vpc_subnets = [ { v4_cidr_blocks = ["10.2.0.0/16"] zone = "ru-central1-a" labels = { type = "default-subnet" } dhcp_options = { domain_name = null domain_name_servers = ["8.8.8.8", "8.8.8.8"] ntp_servers = ["8.8.8.8", "8.8.8.8"] } }, ] custome_route_table_routes = [ { destination_prefix = "10.2.0.0/16" next_hop_address = "172.16.10.10" }, { destination_prefix = "10.3.0.0/16" next_hop_address = "172.16.10.10" } ] default_security_group_ingress = [ { protocol = "TCP" description = "rule1 description" v4_cidr_blocks = ["10.0.1.0/2

Inputs (10)
NameTypeDescriptionDefault
create_default_security_groupbool(Optional) - Create default security group.false
create_custom_route_tablebool(Optional) - Create custom route table.false
custome_route_table_routeslist(Optional) - Create custom route table routes.[]
namestring (Optional) Name of the network. Provided by the client when the network is creanull
vpc_descriptionstring(Optional) An optional description of this resource. Provide this property when null
default_security_group_egresslist(Optional) - A list of egress rules to create with default security group.[]
default_security_group_ingresslist(Optional) - A list of ingress rules to create with default security group.[]
folder_idstring(Optional) ID of the folder that the resource belongs to. If it is not provided,null
vpc_labelsmap(Optional) Labels to apply to this network. A list of key/value pairs.{}
vpc_subnetslist(Required) Subnets for creation in VPC[]
Outputs (4)
yandex_vpc_network
yandex_vpc_route_table
yandex_vpc_subnet
yandex_vpc_security_group
Resources (4)
yandex_vpc_networkyandex_vpc_route_tableyandex_vpc_security_groupyandex_vpc_subnet
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.1
Cloud YANDEX
★ Stars0
Forks0
Total downloads107
Inputs10
Outputs4
Resources4
Namespacedarzanebor
Updated