terraform-provider-aviatrix icon indicating copy to clipboard operation
terraform-provider-aviatrix copied to clipboard

Typo in the document "enable_ha" isn't a valid parameter

Open yeswps opened this issue 1 year ago • 0 comments

Describe the problem

In following document: https://registry.terraform.io/providers/AviatrixSystems/aviatrix/latest/docs/resources/aviatrix_spoke_external_device_conn

Second example:

# Create an Aviatrix Spoke External Device Connection with HA enabled
resource "aviatrix_spoke_external_device_conn" "test" {
  vpc_id                   = "vpc-abcd1234"
  connection_name          = "my_conn"
  gw_name                  = "spokeGw"
  connection_type          = "static"
  remote_subnet            = "12.0.0.0/24"
  remote_gateway_ip        = "172.12.13.14"
  enable_ha                = true
  backup_remote_gateway_ip = "172.12.13.15"
}

enable_ha isn't a valid parameter, it should be: ha_enabled

To Reproduce

Just write the code in vscode, and it will pick up

Expected behavior The second example:

  enable_ha                = true

should be replaced by

  ha_enabled                = true

Additional data / screenshots N/A

If applicable, add screenshots to help explain your problem.

Environment:

  • Provider version
  • Terraform version
  • Aviatrix Controller version

Additional context What was the impact?

Add any other context about the problem here.

yeswps avatar Jan 04 '24 16:01 yeswps