From 018b71fe31f5e1fd9f659c8017abfc6c3995354c Mon Sep 17 00:00:00 2001 From: "Chinmay D. Pai" Date: Thu, 24 Nov 2022 21:55:31 +0530 Subject: [PATCH] chore: fix api_token reference and update hcloud tf provider Signed-off-by: Chinmay D. Pai --- provider/hcloud/hcloud_discover.go | 2 +- test/tf/hcloud/versions.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/provider/hcloud/hcloud_discover.go b/provider/hcloud/hcloud_discover.go index b90d194d..bc783eb6 100644 --- a/provider/hcloud/hcloud_discover.go +++ b/provider/hcloud/hcloud_discover.go @@ -79,7 +79,7 @@ func (p *Provider) Addrs(args map[string]string, l *log.Logger) ([]string, error labelSelector := args["label_selector"] addrType := args["address_type"] location := args["location"] - apiToken := args["apiToken"] + apiToken := args["api_token"] if apiToken == "" { l.Printf("[INFO] no API token specified, checking environment variable HCLOUD_TOKEN") diff --git a/test/tf/hcloud/versions.tf b/test/tf/hcloud/versions.tf index 3d67a90d..19951408 100644 --- a/test/tf/hcloud/versions.tf +++ b/test/tf/hcloud/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { hcloud = { source = "hetznercloud/hcloud" - version = "1.24.1" + version = "1.36.0" } }