Skip to content

Commit 0333ac2

Browse files
Vendor — GCP (#156)
* GCP vendor * GCP not azure * Write the provider * region and test * spot fix * Fix deletion lapsus * no wait * remove unused Co-authored-by: davidgortega <g.ortega.david@gmail.com>
1 parent 5faf23d commit 0333ac2

11 files changed

+610
-44
lines changed

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ require (
3333
github.com/zclconf/go-cty v1.7.0 // indirect
3434
github.com/zclconf/go-cty-yaml v1.0.2 // indirect
3535
golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0
36+
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43
3637
golang.org/x/tools v0.0.0-20201028111035-eafbe7b904eb // indirect
37-
google.golang.org/api v0.34.0 // indirect
38+
google.golang.org/api v0.34.0
3839
gopkg.in/alessio/shellescape.v1 v1.0.0-20170105083845-52074bc9df61
3940
k8s.io/api v0.20.5
4041
k8s.io/apimachinery v0.20.5

iterative/azure/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ func ResourceMachineDelete(ctx context.Context, d *schema.ResourceData, m interf
281281
return err
282282
}
283283
groupsClient.Delete(context.Background(), d.Id())
284-
return err
284+
return nil
285285
}
286286

287287
func getGroupsClient(subscriptionID string) (resources.GroupsClient, error) {

0 commit comments

Comments
 (0)