tpryan
Repos
127
Followers
174
Following
29

Events

tpryan delete branch add-private-network
Created at 1 hour ago
Deployment fails without 'default' vpc network

This deployment assumes that the default vpc network is already present in the project, and the terraform apply step fails if not. Error message like below.

│ Error: Error creating instance: googleapi: Error 400: Invalid value for field 'resource.networkInterfaces[0].network': 'projects/efe-custom-sha-allowlist/global/networks/default'. The referenced network resource cannot be found., invalid
│
│   with google_compute_instance.instance,
│   on main.tf line 79, in resource "google_compute_instance" "instance":
│   79: resource "google_compute_instance" "instance" {

Enforcing the organization policy constraints/compute.skipDefaultNetworkCreation is a recommended security best practice, so many customer environments will have this policy applied at their root organization node and therefore encounter this issue.

Suggested fixes:

  • expose vpc and subnet as configurable variables, or
  • modify code logic to check first for default vpc and create a default vpc if not present, or
  • document the dependency that this Stack assumes the default vpc is present, and will not work if an organization policy administrator has enforced the skipDefaultNetworkCreation policy on the org
Created at 1 hour ago

chore: changing terraform file structure to be more standard

feat: adding a non default network to the solution. Fixes #2

Merge pull request #3 from GoogleCloudPlatform/add-private-network

Fix: Add private network

Created at 1 hour ago
Fix: Add private network
Created at 1 hour ago
Fix: Add private network
Created at 1 hour ago

chore: changing terraform file structure to be more standard

feat: adding a non default network to the solution. Fixes #2

Created at 1 hour ago
tpryan create branch add-private-network
Created at 2 hours ago
tpryan create branch remove-tools
Created at 2 hours ago
tpryan delete branch remove-tools
Created at 2 hours ago

chore: removing tools and related data from public repo.

Merge pull request #49 from GoogleCloudPlatform/remove-tools

chore: removing tools and related data from public repo.

Created at 2 hours ago
pull request closed
chore: removing tools and related data from public repo.
Created at 2 hours ago
pull request opened
chore: removing tools and related data from public repo.
Created at 2 hours ago

chore: removing tools and related data from public repo.

Created at 2 hours ago
tpryan create branch remove-tools
Created at 2 hours ago

chore: fix tflint issues (#15)

Merge branch 'main' into tpryan-use-iap

Created at 5 days ago
fix: update default install to allow SSH to the nodes in question.
Created at 5 days ago

fix: update default install to allow SSH to the nodes in question.

Created at 5 days ago
tpryan create branch tpryan-use-iap
Created at 5 days ago

chore: switch deletion_policy to virtual field

Created at 6 days ago