Add the VersionHeader to the atlas provider too
This commit is contained in:
parent
885935962c
commit
bd99c7a904
|
@ -52,6 +52,7 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
client.DefaultHeader.Set(terraform.VersionHeader, terraform.Version)
|
||||||
client.Token = d.Get("token").(string)
|
client.Token = d.Get("token").(string)
|
||||||
|
|
||||||
return client, nil
|
return client, nil
|
||||||
|
|
Loading…
Reference in New Issue