diff options
Diffstat (limited to 'gce')
| -rw-r--r-- | gce/gce.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gce/gce.go b/gce/gce.go index 27bbbf6f2..377d6aba9 100644 --- a/gce/gce.go +++ b/gce/gce.go @@ -122,6 +122,12 @@ func (ctx *Context) CreateInstance(name, machineType, image, sshkey string) (str NetworkInterfaces: []*compute.NetworkInterface{ &compute.NetworkInterface{ Network: "global/networks/default", + AccessConfigs: []*compute.AccessConfig{ + { + Name: "External NAT", + Type: "ONE_TO_ONE_NAT", + }, + }, }, }, Scheduling: &compute.Scheduling{ |
