Created
February 6, 2019 18:30
-
-
Save greyhoundforty/2d30071444e9cd00deabb27395176408 to your computer and use it in GitHub Desktop.
Juniper vSRX on the IBM Cloud
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "ibm_network_vlan" "srxdal13_public_vlan" { | |
| name = "srx-public-rt" | |
| datacenter = "${var.datacenter["us-south3"]}" | |
| type = "PUBLIC" | |
| router_hostname = "fcr01a.dal13" | |
| } | |
| resource "ibm_network_vlan" "srxdal13_private_vlan" { | |
| name = "srx-private-rt" | |
| datacenter = "${var.datacenter["us-south3"]}" | |
| type = "PRIVATE" | |
| router_hostname = "bcr01a.dal13" | |
| } | |
| resource "ibm_network_gateway" "srxtest" { | |
| name = "vradal13" | |
| members = [{ | |
| hostname = "vradal13" | |
| domain = "${var.domainname}" | |
| datacenter = "${var.datacenter["us-south3"]}" | |
| network_speed = 10000 | |
| private_network_only = false | |
| tcp_monitoring = true | |
| package_key_name = "VIRTUAL_ROUTER_APPLIANCE_10_GPBS" | |
| process_key_name = "INTEL_INTEL_XEON_5120_2_20" | |
| os_key_name = "OS_JUNIPER_VSRX_15_X_UP_TO_10_GBPS_STANDARD" | |
| redundant_network = false | |
| disk_key_names = ["HARD_DRIVE_2_00_TB_SATA_2"] | |
| redundant_power_supply = true | |
| public_bandwidth = 20000 | |
| memory = 32 | |
| public_vlan_id = "${ibm_network_vlan.srxdal13_public_vlan.id}" | |
| private_vlan_id = "${ibm_network_vlan.srxdal13_private_vlan.id}" | |
| tags = ["ryantiffany"] | |
| notes = "testing the deployment of an srx via terraform" | |
| ipv6_enabled = true | |
| }] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
don't forget to set redundant_network true. Can't figure out how to do a pull request with gist on the web.