GCE: needs to use v1 network resources, not beta

This commit is contained in:
eric-hole 2020-04-27 13:14:50 -07:00
parent fd512ca165
commit 444ad7b4fd
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ func (e *Network) Find(c *fi.Context) (*Network, error) {
func (e *Network) URL(project string) string {
u := gce.GoogleCloudURL{
Version: "beta",
Version: "v1",
Project: project,
Name: *e.Name,
Type: "networks",

View File

@ -193,7 +193,7 @@ func (_ *Subnet) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Subnet) error {
func (e *Subnet) URL(project string, region string) string {
u := gce.GoogleCloudURL{
Version: "beta",
Version: "v1",
Project: project,
Name: *e.GCEName,
Type: "subnetworks",