mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Fix conversion error
This causes a crash of the provider
This commit is contained in:
parent
9c02a6e4f7
commit
fa1b3c88d8
@ -58,7 +58,7 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
|
||||
ApiURL: d.Get("api_url").(string),
|
||||
ApiKey: d.Get("api_key").(string),
|
||||
SecretKey: d.Get("secret_key").(string),
|
||||
Timeout: d.Get("timeout").(int64),
|
||||
Timeout: int64(d.Get("timeout").(int)),
|
||||
}
|
||||
|
||||
return config.NewClient()
|
||||
|
Loading…
Reference in New Issue
Block a user