mysterious-pager-42871
07/26/2021, 1:37 AMserver_instance = gcp.compute.InstanceFromMachineImage("github-server",
zone="australia-southeast2-a",
machine_type="n1-standard-8",
source_machine_image="projects/github-enterprise-public/global/machineImages/github-enterprise-3-1-3",
can_ip_forward=False,
network_interfaces=[gcp.compute.InstanceNetworkInterfaceArgs(
network=vpc_network.id,
access_configs=[gcp.compute.InstanceNetworkInterfaceAccessConfigArgs(
nat_ip=static.address
)])],
opts=pulumi.ResourceOptions(provider=google_beta))
but when I run it without the beta_provider I get this error regarding the machine image (it’s interpolating the configured project ID):
Diagnostics:
pulumi:pulumi:Stack (furo-github-server-dev):
error: update failed
gcp:compute:InstanceFromMachineImage (github-server):
error: 1 error occurred:
* googleapi: Error 404: The resource 'projects/<redacted-but-should-be-github-enterprise-public>/global/machineImages/github-enterprise-3-1-3' was not found, notFound
Resources:
- 1 deleted
10 unchanged
Duration: 15s
thanks for any insight 🙂