Skip to content

Commit 06432c0

Browse files
jhanaviapeabody
andauthored
chore: Generate display metadata (#646)
Co-authored-by: Andrew Peabody <[email protected]>
1 parent faae167 commit 06432c0

File tree

16 files changed

+819
-1
lines changed

16 files changed

+819
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ docker_generate_docs:
9393
-e ENABLE_BPMETADATA=1 \
9494
-v $(CURDIR):/workspace \
9595
$(REGISTRY_URL)/${DOCKER_IMAGE_DEVELOPER_TOOLS}:${DOCKER_TAG_VERSION_DEVELOPER_TOOLS} \
96-
/bin/bash -c 'source /usr/local/bin/task_helper_functions.sh && generate_docs'
96+
/bin/bash -c 'source /usr/local/bin/task_helper_functions.sh && generate_docs display'
9797

9898
# Alias for backwards compatibility
9999
.PHONY: generate_docs

metadata.display.yaml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
apiVersion: blueprints.cloud.google.com/v1alpha1
16+
kind: BlueprintMetadata
17+
metadata:
18+
name: terraform-google-network-display
19+
annotations:
20+
config.kubernetes.io/local-config: "true"
21+
spec:
22+
info:
23+
title: Terraform Network Module
24+
source:
25+
repo: https://github.com/terraform-google-modules/terraform-google-network.git
26+
sourceType: git
27+
ui:
28+
input:
29+
variables:
30+
auto_create_subnetworks:
31+
name: auto_create_subnetworks
32+
title: Auto Create Subnetworks
33+
bgp_always_compare_med:
34+
name: bgp_always_compare_med
35+
title: Bgp Always Compare Med
36+
bgp_best_path_selection_mode:
37+
name: bgp_best_path_selection_mode
38+
title: Bgp Best Path Selection Mode
39+
bgp_inter_region_cost:
40+
name: bgp_inter_region_cost
41+
title: Bgp Inter Region Cost
42+
delete_default_internet_gateway_routes:
43+
name: delete_default_internet_gateway_routes
44+
title: Delete Default Internet Gateway Routes
45+
description:
46+
name: description
47+
title: Description
48+
egress_rules:
49+
name: egress_rules
50+
title: Egress Rules
51+
enable_ipv6_ula:
52+
name: enable_ipv6_ula
53+
title: Enable Ipv6 Ula
54+
firewall_rules:
55+
name: firewall_rules
56+
title: Firewall Rules
57+
ingress_rules:
58+
name: ingress_rules
59+
title: Ingress Rules
60+
internal_ipv6_range:
61+
name: internal_ipv6_range
62+
title: Internal Ipv6 Range
63+
mtu:
64+
name: mtu
65+
title: Mtu
66+
network_firewall_policy_enforcement_order:
67+
name: network_firewall_policy_enforcement_order
68+
title: Network Firewall Policy Enforcement Order
69+
network_name:
70+
name: network_name
71+
title: Network Name
72+
network_profile:
73+
name: network_profile
74+
title: Network Profile
75+
project_id:
76+
name: project_id
77+
title: Project Id
78+
routes:
79+
name: routes
80+
title: Routes
81+
routing_mode:
82+
name: routing_mode
83+
title: Routing Mode
84+
secondary_ranges:
85+
name: secondary_ranges
86+
title: Secondary Ranges
87+
shared_vpc_host:
88+
name: shared_vpc_host
89+
title: Shared Vpc Host
90+
subnets:
91+
name: subnets
92+
title: Subnets
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
apiVersion: blueprints.cloud.google.com/v1alpha1
16+
kind: BlueprintMetadata
17+
metadata:
18+
name: terraform-google-network-display
19+
annotations:
20+
config.kubernetes.io/local-config: "true"
21+
spec:
22+
info:
23+
title: Google Cloud VPC Firewall
24+
source:
25+
repo: https://github.com/terraform-google-modules/terraform-google-network.git
26+
sourceType: git
27+
dir: /modules/fabric-net-firewall
28+
ui:
29+
input:
30+
variables:
31+
admin_ranges:
32+
name: admin_ranges
33+
title: Admin Ranges
34+
admin_ranges_enabled:
35+
name: admin_ranges_enabled
36+
title: Admin Ranges Enabled
37+
custom_rules:
38+
name: custom_rules
39+
title: Custom Rules
40+
http_source_ranges:
41+
name: http_source_ranges
42+
title: Http Source Ranges
43+
http_target_tags:
44+
name: http_target_tags
45+
title: Http Target Tags
46+
https_source_ranges:
47+
name: https_source_ranges
48+
title: Https Source Ranges
49+
https_target_tags:
50+
name: https_target_tags
51+
title: Https Target Tags
52+
internal_allow:
53+
name: internal_allow
54+
title: Internal Allow
55+
internal_ranges:
56+
name: internal_ranges
57+
title: Internal Ranges
58+
internal_ranges_enabled:
59+
name: internal_ranges_enabled
60+
title: Internal Ranges Enabled
61+
internal_target_tags:
62+
name: internal_target_tags
63+
title: Internal Target Tags
64+
network:
65+
name: network
66+
title: Network
67+
project_id:
68+
name: project_id
69+
title: Project Id
70+
ssh_source_ranges:
71+
name: ssh_source_ranges
72+
title: Ssh Source Ranges
73+
ssh_target_tags:
74+
name: ssh_target_tags
75+
title: Ssh Target Tags
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
apiVersion: blueprints.cloud.google.com/v1alpha1
16+
kind: BlueprintMetadata
17+
metadata:
18+
name: terraform-google-network-display
19+
annotations:
20+
config.kubernetes.io/local-config: "true"
21+
spec:
22+
info:
23+
title: Google Cloud Shared VPC Access Configuration
24+
source:
25+
repo: https://github.com/terraform-google-modules/terraform-google-network.git
26+
sourceType: git
27+
dir: /modules/fabric-net-svpc-access
28+
ui:
29+
input:
30+
variables:
31+
host_project_id:
32+
name: host_project_id
33+
title: Host Project Id
34+
host_service_agent_role:
35+
name: host_service_agent_role
36+
title: Host Service Agent Role
37+
host_service_agent_users:
38+
name: host_service_agent_users
39+
title: Host Service Agent Users
40+
host_subnet_regions:
41+
name: host_subnet_regions
42+
title: Host Subnet Regions
43+
host_subnet_users:
44+
name: host_subnet_users
45+
title: Host Subnet Users
46+
host_subnets:
47+
name: host_subnets
48+
title: Host Subnets
49+
service_project_ids:
50+
name: service_project_ids
51+
title: Service Project Ids
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
apiVersion: blueprints.cloud.google.com/v1alpha1
16+
kind: BlueprintMetadata
17+
metadata:
18+
name: terraform-google-network-display
19+
annotations:
20+
config.kubernetes.io/local-config: "true"
21+
spec:
22+
info:
23+
title: Google Cloud VPC Firewall Rules
24+
source:
25+
repo: https://github.com/terraform-google-modules/terraform-google-network.git
26+
sourceType: git
27+
dir: /modules/firewall-rules
28+
ui:
29+
input:
30+
variables:
31+
egress_rules:
32+
name: egress_rules
33+
title: Egress Rules
34+
ingress_rules:
35+
name: ingress_rules
36+
title: Ingress Rules
37+
network_name:
38+
name: network_name
39+
title: Network Name
40+
project_id:
41+
name: project_id
42+
title: Project Id
43+
rules:
44+
name: rules
45+
title: Rules
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
apiVersion: blueprints.cloud.google.com/v1alpha1
16+
kind: BlueprintMetadata
17+
metadata:
18+
name: terraform-google-network-display
19+
annotations:
20+
config.kubernetes.io/local-config: "true"
21+
spec:
22+
info:
23+
title: Google Cloud Hierarchical Firewall Policy
24+
source:
25+
repo: https://github.com/terraform-google-modules/terraform-google-network.git
26+
sourceType: git
27+
dir: /modules/hierarchical-firewall-policy
28+
ui:
29+
input:
30+
variables:
31+
description:
32+
name: description
33+
title: Description
34+
parent_node:
35+
name: parent_node
36+
title: Parent Node
37+
policy_name:
38+
name: policy_name
39+
title: Policy Name
40+
rules:
41+
name: rules
42+
title: Rules
43+
target_folders:
44+
name: target_folders
45+
title: Target Folders
46+
target_org:
47+
name: target_org
48+
title: Target Org
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
apiVersion: blueprints.cloud.google.com/v1alpha1
16+
kind: BlueprintMetadata
17+
metadata:
18+
name: terraform-google-network-network-connectivity-center-display
19+
annotations:
20+
config.kubernetes.io/local-config: "true"
21+
spec:
22+
info:
23+
title: Terraform Network Connectivity Center Module
24+
source:
25+
repo: https://github.com/terraform-google-modules/terraform-google-network.git
26+
sourceType: git
27+
dir: /modules/network-connectivity-center
28+
ui:
29+
input:
30+
variables:
31+
export_psc:
32+
name: export_psc
33+
title: Export Psc
34+
hybrid_spokes:
35+
name: hybrid_spokes
36+
title: Hybrid Spokes
37+
ncc_hub_description:
38+
name: ncc_hub_description
39+
title: Ncc Hub Description
40+
ncc_hub_labels:
41+
name: ncc_hub_labels
42+
title: Ncc Hub Labels
43+
ncc_hub_name:
44+
name: ncc_hub_name
45+
title: Ncc Hub Name
46+
project_id:
47+
name: project_id
48+
title: Project Id
49+
router_appliance_spokes:
50+
name: router_appliance_spokes
51+
title: Router Appliance Spokes
52+
spoke_labels:
53+
name: spoke_labels
54+
title: Spoke Labels
55+
vpc_spokes:
56+
name: vpc_spokes
57+
title: Vpc Spokes

0 commit comments

Comments
 (0)