From bd99c7a9040d27534de61db91f12615382a85b6b Mon Sep 17 00:00:00 2001 From: James Bardin Date: Thu, 21 Jul 2016 11:04:40 -0400 Subject: [PATCH] Add the VersionHeader to the atlas provider too --- builtin/providers/atlas/provider.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/providers/atlas/provider.go b/builtin/providers/atlas/provider.go index 3d14edca8..e7034a7cd 100644 --- a/builtin/providers/atlas/provider.go +++ b/builtin/providers/atlas/provider.go @@ -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