Files
hp-iac/terraform/provider.tf
T

21 lines
689 B
Terraform

# All three fields are optional. If omitted, each falls back to an env var,
# then to a default -- same pattern as config.py in the Python reference
# project (SWITCH_HOST / SWITCH_HTTPS / SWITCH_PASSWORD):
#
# host <- HPE1810_HOST <- "192.168.2.10"
# https <- HPE1810_HTTPS <- false
# password <- HPE1810_PASSWORD <- ""
#
# So for the switch as currently configured (no password, plain HTTP, at its
# default IP), an empty provider block is enough:
#
# provider "hpe1810" {}
#
# The explicit values below are just to show what's available.
provider "hpe1810" {
host = "192.168.2.10"
https = false
password = "" # switch currently has no password set
}