Skip to content

Commit

Permalink
chore: fix api_token reference and update hcloud tf provider
Browse files Browse the repository at this point in the history
Signed-off-by: Chinmay D. Pai <[email protected]>
  • Loading branch information
Thunderbottom committed Jul 9, 2023
1 parent 055b72a commit 524be32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion provider/hcloud/hcloud_discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion test/tf/hcloud/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
version = "1.24.1"
version = "1.36.0"
}
}

Expand Down

0 comments on commit 524be32

Please sign in to comment.