Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions metadata.display.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ metadata:
config.kubernetes.io/local-config: "true"
spec:
info:
title: "Cloud Router"
source:
repo: https://github.com/terraform-google-modules/terraform-google-cloud-router.git
sourceType: git
Expand All @@ -29,6 +30,7 @@ spec:
bgp:
name: bgp
title: Bgp
level: 1
description:
name: description
title: Description
Expand All @@ -41,6 +43,7 @@ spec:
nats:
name: nats
title: Nats
level: 1
network:
name: network
title: Network
Expand Down
135 changes: 134 additions & 1 deletion metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ metadata:
config.kubernetes.io/local-config: "true"
spec:
info:
title: "Cloud Router"
source:
repo: https://github.com/terraform-google-modules/terraform-google-cloud-router.git
sourceType: git
Expand Down Expand Up @@ -51,6 +52,22 @@ spec:
description: A reference to the network to which this router belongs
varType: string
required: true
connections:
- source:
source: github.com/terraform-google-modules/terraform-google-network
version: ">= 11.0.0"
spec:
outputExpr: network_name
- source:
source: github.com/terraform-google-modules/terraform-google-network//modules/vpc
version: ">= 11.0.0"
spec:
outputExpr: network_name
- source:
source: github.com/GoogleCloudPlatform/terraform-google-vpn
version: ">= 5.0.0"
spec:
outputExpr: network
- name: project
description: The project ID to deploy to
varType: string
Expand Down Expand Up @@ -114,8 +131,124 @@ spec:
outputs:
- name: nat
description: Created NATs
type:
- object
- my-nat-gateway:
- object
- auto_network_tier: string
drain_nat_ips:
- set
- string
enable_dynamic_port_allocation: bool
enable_endpoint_independent_mapping: bool
endpoint_types:
- list
- string
icmp_idle_timeout_sec: number
id: string
initial_nat_ips:
- set
- string
log_config:
- list
- - object
- enable: bool
filter: string
max_ports_per_vm: number
min_ports_per_vm: number
name: string
nat64_subnetwork:
- set
- - object
- name: string
nat_ip_allocate_option: string
nat_ips:
- set
- string
project: string
region: string
router: string
rules:
- set
- - object
- action:
- list
- - object
- source_nat_active_ips:
- set
- string
source_nat_active_ranges:
- set
- string
source_nat_drain_ips:
- set
- string
source_nat_drain_ranges:
- set
- string
description: string
match: string
rule_number: number
source_subnetwork_ip_ranges_to_nat: string
source_subnetwork_ip_ranges_to_nat64: string
subnetwork:
- set
- - object
- name: string
secondary_ip_range_names:
- set
- string
source_ip_ranges_to_nat:
- set
- string
tcp_established_idle_timeout_sec: number
tcp_time_wait_timeout_sec: number
tcp_transitory_idle_timeout_sec: number
timeouts:
- object
- create: string
delete: string
update: string
type: string
udp_idle_timeout_sec: number
- name: router
description: Created Router
type:
- object
- bgp:
- list
- - object
- advertise_mode: string
advertised_groups:
- list
- string
advertised_ip_ranges:
- set
- - object
- description: string
range: string
asn: number
identifier_range: string
keepalive_interval: number
creation_timestamp: string
description: string
encrypted_interconnect_router: bool
id: string
md5_authentication_keys:
- list
- - object
- key: string
name: string
name: string
network: string
project: string
region: string
self_link: string
timeouts:
- object
- create: string
delete: string
update: string
requirements:
roles:
- level: Project
Expand All @@ -127,4 +260,4 @@ spec:
- compute.googleapis.com
providerVersions:
- source: hashicorp/google
version: ">= 4.51, < 7"
version: ">= 4.51, < 8"
2 changes: 1 addition & 1 deletion modules/interconnect_attachment/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,4 @@ spec:
- compute.googleapis.com
providerVersions:
- source: hashicorp/google
version: ">= 4.27, < 7"
version: ">= 4.27, < 8"
3 changes: 3 additions & 0 deletions modules/interface/metadata.display.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ spec:
interconnect_attachment:
name: interconnect_attachment
title: Interconnect Attachment
level: 1
ip_range:
name: ip_range
title: Ip Range
level: 1
name:
name: name
title: Name
Expand All @@ -52,3 +54,4 @@ spec:
vpn_tunnel:
name: vpn_tunnel
title: Vpn Tunnel
level: 1
29 changes: 28 additions & 1 deletion modules/interface/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,22 @@ spec:
description: Name of the router the interface resides
varType: string
required: true
connections:
- source:
source: github.com/terraform-google-modules/terraform-google-cloud-router
version: ">= 7.0.0"
spec:
outputExpr: router.name
- source:
source: github.com/terraform-google-modules/terraform-google-cloud-nat
version: ">= 4.0.0"
spec:
outputExpr: router_name
- source:
source: github.com/terraform-google-modules/terraform-google-vpn//modules/vpn-ha
version: ">= 5.0.0"
spec:
outputExpr: router_name
- name: region
description: Region where the interface resides
varType: string
Expand All @@ -62,6 +78,17 @@ spec:
- name: vpn_tunnel
description: The name or resource link to the VPN tunnel this interface will be linked to
varType: string
connections:
- source:
source: github.com/terraform-google-modules/terraform-google-vpn//modules/vpn-ha
version: ">= 5.0.0"
spec:
outputExpr: values(tunnel_self_links)[0]
- source:
source: github.com/terraform-google-modules/terraform-google-vpn
version: ">= 5.0.0"
spec:
outputExpr: vpn_tunnels_self_link-dynamic[0]
- name: interconnect_attachment
description: The name or resource link to the VLAN interconnect for this interface
varType: string
Expand Down Expand Up @@ -97,4 +124,4 @@ spec:
- compute.googleapis.com
providerVersions:
- source: hashicorp/google
version: ">= 5.12, < 7"
version: ">= 5.12, < 8"