Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Couldn't complete the lab "HTTPS Content-Based Load Balancer with Terraform"

Dear Team,

In the lab "HTTPS Content-Based Load Balancer with Terraform" at Task 2, when I run the command "terraform apply tfplan", I keep encountering an error, as shown in the screenshot below from the lab. I have attempted the lab a couple of times, and each time I have faced this error, even after double-checking that I have properly followed the lab instructions.

I would appreciate it if someone could address and resolve this issue.

Thank you.

JRamF1_0-1749819331708.png

 

1 1 85
1 REPLY 1

Hi @JRamF1 ,

The error message shows:
Could not find image or family ubuntu-os-cloud/ubuntu-2004-lts.

This likely means the image family ubuntu-2004-lts is not available in the ubuntu-os-cloud project in this lab environment.

To fix this, try replacing it in your Terraform config with:
source_image = "projects/debian-cloud/global/images/family/debian-11"

Or, if the lab requires Ubuntu specifically, try:
source_image = "projects/ubuntu-os-cloud/global/images/family/ubuntu-minimal-2004-lts"




Top Labels in this Space
Top Solution Authors