We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffc88e9 commit c31f593Copy full SHA for c31f593
examples/simple/main.tf
@@ -18,11 +18,23 @@ provider "google" {
18
version = "~> 3.0"
19
}
20
21
+# [START cloudrouter_create]
22
module "cloud_router" {
- source = "../../"
23
+ source = "terraform-google-modules/cloud-router/google"
24
+ version = "~> 0.4"
25
- name = "test-router"
26
+ name = "my-router"
27
+ region = "us-central1"
28
+
29
+ bgp = {
30
+ # The private ASN (64512 - 65534, 4200000000 - 4294967294) can be any private ASN
31
+ # not already used as a peer ASN in the same region and network.
32
+ asn = "65001"
33
+ }
34
35
+ # project = "my-project-id"
36
project = var.project
37
+ # network = "my-network"
38
network = var.network
- region = "us-central1"
39
40
+# [END cloudrouter_create]
0 commit comments