pulumi / pulumi-gcp

A Google Cloud Platform (GCP) Pulumi resource package, providing multi-language access to GCP
Apache License 2.0
183 stars 53 forks source link

deleteDefaultRoutesOnCreate does not work when creating network #208

Closed stang closed 1 year ago

stang commented 5 years ago

Hi,

I tried to use the deleteDefaultRoutesOnCreate to create a new VPC network and have its default route deleted but the default route 0.0.0.0/0 for the newly created network is still there.

Environment

pulumi version
v1.0.0-rc.1

pulumi plugin ls
NAME  KIND      VERSION     SIZE   INSTALLED  LAST USED
gcp   resource  1.0.0-rc.1  83 MB  n/a        1 minute ago

How to reproduce

new gcp.compute.Network("example", {
  autoCreateSubnetworks: false,
  deleteDefaultRoutesOnCreate: true
});
pgavlin commented 5 years ago

@stack72 I can't find an issue in the underlying TF provider tracking this. Can you take a look?

mikhailshilkov commented 1 year ago

A similar upstream issue has been closed: https://github.com/hashicorp/terraform-provider-google/issues/6302

Since this issue is so old and received no recent comments or upvotes, I'll close it as done.