Skip to content

Commit 2b72e70

Browse files
committed
set md5_authentication_key as optional in interconnect_attachment module
Signed-off-by: Ricky Hariady <[email protected]>
1 parent a7218f3 commit 2b72e70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/interconnect_attachment/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
| ipsec\_internal\_addresses | URL of addresses that have been reserved for the interconnect attachment, Used only for interconnect attachment that has the encryption option as IPSEC. | `list(string)` | `[]` | no |
1616
| mtu | 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. | `string` | `null` | no |
1717
| name | The name of the interconnect attachment | `string` | n/a | yes |
18-
| peer | BGP Peer for this attachment. | <pre>object({<br> name = string<br> peer_asn = string<br> advertised_route_priority = optional(number)<br> bfd = optional(object({<br> session_initialization_mode = string<br> min_transmit_interval = optional(number)<br> min_receive_interval = optional(number)<br> multiplier = optional(number)<br> }))<br> md5_authentication_key = object({<br> name = string<br> key = string<br> })<br> })</pre> | n/a | yes |
18+
| peer | BGP Peer for this attachment. | <pre>object({<br> name = string<br> peer_asn = string<br> advertised_route_priority = optional(number)<br> bfd = optional(object({<br> session_initialization_mode = string<br> min_transmit_interval = optional(number)<br> min_receive_interval = optional(number)<br> multiplier = optional(number)<br> }))<br> md5_authentication_key = optional(object({<br> name = string<br> key = string<br> }))<br> })</pre> | n/a | yes |
1919
| project | The project ID to deploy to | `string` | n/a | yes |
2020
| region | Region where the attachment resides | `string` | n/a | yes |
2121
| router | Name of the router the attachment resides | `string` | n/a | yes |

modules/interconnect_attachment/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ variable "peer" {
112112
min_receive_interval = optional(number)
113113
multiplier = optional(number)
114114
}))
115-
md5_authentication_key = object({
115+
md5_authentication_key = optional(object({
116116
name = string
117117
key = string
118-
})
118+
}))
119119
})
120120
}

0 commit comments

Comments
 (0)