Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self Managed parameter didnt work as expected #1

Open
achhabr1 opened this issue Jan 26, 2022 · 0 comments
Open

Self Managed parameter didnt work as expected #1

achhabr1 opened this issue Jan 26, 2022 · 0 comments

Comments

@achhabr1
Copy link

achhabr1 commented Jan 26, 2022


main.tf

provider "equinix" {
client_id = var.equinix_client_id
client_secret = var.equinix_client_secret
}

module "fortigate" {
source = "equinix/fortigate/equinix"
account_number = "587965"
version = "1.0.0"
byol = true
self_managed = true
license_file = "fgtlic.lic"
name = "ac043s-FGTE-VM08-EQNX-tf"
metro_code = var.metro_code_primary
platform = "large"
software_package = "VM08"
term_length = 1
notifications = ["[email protected]"]
hostname = "FGTE-VM08"
interface_count = 10
ssh_key = {
username = "ac043s"
key_name = equinix_network_ssh_key.ac043s_ssh_key.name
}
}

resource "equinix_network_ssh_key" "ac043s_ssh_key" {
name = "ac043s"
public_key = "ssh-rsa xxxx"
}


variable.tf

variable "equinix_client_id" {
}

variable "equinix_client_secret" {
}

variable "metro_code_primary" {
default = "DC"
}


versions.tf

terraform {
required_version = ">= 0.13"
required_providers {
equinix = {
source = "equinix/equinix"
version = "= 1.1.0"
}
}
}


This the template used form the given example. The VM spun up ok and i was able to validate my license. But the self_managed = true option didnt work as expected. The vFW spun up with 2 interfaces pre configured, one dedicated to equinix and one pre configured for SSH
Screen Shot 2022-01-25 at 6 57 55 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant