You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/interconnect_attachment/metadata.yaml
+54-34Lines changed: 54 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Copyright 2024 Google LLC
1
+
# Copyright 2025 Google LLC
2
2
#
3
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
4
# you may not use this file except in compliance with the License.
@@ -40,38 +40,71 @@ spec:
40
40
location: examples/simple_example
41
41
interfaces:
42
42
variables:
43
+
- name: name
44
+
description: The name of the interconnect attachment
45
+
varType: string
46
+
required: true
47
+
- name: project
48
+
description: The project ID to deploy to
49
+
varType: string
50
+
required: true
51
+
- name: router
52
+
description: Name of the router the attachment resides
53
+
varType: string
54
+
required: true
55
+
- name: region
56
+
description: Region where the attachment resides
57
+
varType: string
58
+
required: true
59
+
- name: interconnect
60
+
description: URL of the underlying Interconnect object that this attachment's traffic will traverse through.
61
+
varType: string
62
+
defaultValue: ""
43
63
- name: admin_enabled
44
64
description: Whether the VLAN attachment is enabled or disabled
45
65
varType: bool
46
66
defaultValue: true
67
+
- name: type
68
+
description: The type of InterconnectAttachment you wish to create
69
+
varType: string
70
+
defaultValue: DEDICATED
47
71
- name: bandwidth
48
72
description: Provisioned bandwidth capacity for the interconnect attachment
49
73
varType: string
50
74
defaultValue: BPS_10G
75
+
- name: mtu
76
+
description: Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Currently, only 1440 and 1500 are allowed. If not specified, the value will default to 1440.
77
+
varType: string
78
+
- name: edge_availability_domain
79
+
description: Desired availability domain for the attachment. Only available for type PARTNER, at creation time.
80
+
varType: string
81
+
- name: description
82
+
description: An optional description of this resource
83
+
varType: string
51
84
- name: candidate_subnets
52
85
description: Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc).
53
86
varType: list(string)
54
-
- name: description
55
-
description: An optional description of this resource
87
+
- name: vlan_tag8021q
88
+
description: The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094.
56
89
varType: string
57
-
- name: interconnect
58
-
description: URL of the underlying Interconnect object that this attachment's traffic will traverse through.
90
+
- name: encryption
91
+
description: Indicates the user-supplied encryption option of this interconnect attachment.
59
92
varType: string
60
-
required: true
93
+
defaultValue: NONE
94
+
- name: ipsec_internal_addresses
95
+
description: URL of addresses that have been reserved for the interconnect attachment, Used only for interconnect attachment that has the encryption option as IPSEC.
96
+
varType: list(string)
97
+
defaultValue: []
98
+
- name: create_interface
99
+
description: Whether to create router interface (and peer) for this attachment. Set this to false for PARTNER type.
100
+
varType: bool
101
+
defaultValue: true
61
102
- name: interface
62
103
description: Interface to deploy for this attachment.
63
104
varType: |-
64
105
object({
65
106
name = string
66
107
})
67
-
required: true
68
-
- name: mtu
69
-
description: Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Currently, only 1440 and 1500 are allowed. If not specified, the value will default to 1440.
70
-
varType: string
71
-
- name: name
72
-
description: The name of the interconnect attachment
73
-
varType: string
74
-
required: true
75
108
- name: peer
76
109
description: BGP Peer for this attachment.
77
110
varType: |-
@@ -85,27 +118,11 @@ spec:
85
118
min_receive_interval = optional(number)
86
119
multiplier = optional(number)
87
120
}))
121
+
md5_authentication_key = optional(object({
122
+
name = string
123
+
key = string
124
+
}))
88
125
})
89
-
required: true
90
-
- name: project
91
-
description: The project ID to deploy to
92
-
varType: string
93
-
required: true
94
-
- name: region
95
-
description: Region where the attachment resides
96
-
varType: string
97
-
required: true
98
-
- name: router
99
-
description: Name of the router the attachment resides
100
-
varType: string
101
-
required: true
102
-
- name: type
103
-
description: The type of InterconnectAttachment you wish to create
104
-
varType: string
105
-
defaultValue: DEDICATED
106
-
- name: vlan_tag8021q
107
-
description: The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094.
0 commit comments