Add the VersionHeader to the atlas provider too

This commit is contained in:
James Bardin 2016-07-21 11:04:40 -04:00
parent 885935962c
commit bd99c7a904
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
return nil, err
}
}
client.DefaultHeader.Set(terraform.VersionHeader, terraform.Version)
client.Token = d.Get("token").(string)
return client, nil