File tree Expand file tree Collapse file tree 5 files changed +12
-7
lines changed
test/fixtures/simple_example Expand file tree Collapse file tree 5 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,9 @@ resource "google_compute_router" "router" {
2929 # This forces the config to explicitly state what subnets and ip ranges
3030 # to advertise. To advertise the same range as DEFAULT, set
3131 # `advertise_groups = ["ALL_SUBNETS"]`.
32- advertise_mode = " CUSTOM"
33- advertised_groups = lookup (var. bgp , " advertised_groups" , null )
32+ advertise_mode = " CUSTOM"
33+ advertised_groups = lookup (var. bgp , " advertised_groups" , null )
34+ keepalive_interval = lookup (var. bgp , " keepalive_interval" , null )
3435
3536 dynamic "advertised_ip_ranges" {
3637 for_each = lookup (var. bgp , " advertised_ip_ranges" , [])
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- provider "random" {
18- version = " ~> 2.0"
19- }
20-
2117resource "random_pet" "main" {
2218 length = 1
2319 prefix = " simple-example"
Original file line number Diff line number Diff line change 1616
1717terraform {
1818 required_version = " >=0.12.6"
19+ required_providers {
20+
21+ random = {
22+ source = " hashicorp/random"
23+ version = " >= 2.0"
24+ }
25+ }
1926}
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ variable "description" {
5050# - advertised_ip_ranges (list(object), optional): User-specified list of individual IP ranges to advertise.
5151# - range (string, required): The IP range to advertise.
5252# - description (string, optional): User-specified description for the IP range.
53+ # - keepalive_interval (integer, optional): Period of time in seconds to wait before sending a new BGP keepalive message to the peer.
5354variable "bgp" {
5455 description = " BGP information specific to this router."
5556 type = any
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ terraform {
2020
2121 google = {
2222 source = " hashicorp/google"
23- version = " >= 3.53 , < 5.0"
23+ version = " >= 4.13 , < 5.0"
2424 }
2525 }
2626
You can’t perform that action at this time.
0 commit comments