chore: update all ubuntu image families to ubuntu-2204-lts (fixes #512) #513
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates the deprecated
ubuntu-2004-ltsimage family toubuntu-2204-ltsacross the module and example configurations.source_image_familyinside themig-templatemodule.ubuntu-2204-ltsinstead of the removedubuntu-2004-ltsimage family.Reason
The
ubuntu-2004-ltsfamily has been deprecated and is no longer available in theubuntu-os-cloudGCP project, causingterraform applyto fail when running multiple examples from this repository.Testing
terraform planandterraform applyon updated examples inside my GCP environment.ubuntu-2204-ltsis available via:gcloud compute images list --project=ubuntu-os-cloud --filter="family=ubuntu-2204-lts"Related Issue
Fixes #512
Additional Information
This issue was encountered while running examples inside Qwiklabs GCP Cloud Shell.
Note
This issue was encountered while running the Load Balancing: HTTP(S) Load Balancer with Cloud CDN GSP206 lab on Google Cloud Skills Boost. Updating the image family resolves the failure and allows learners to complete the lab successfully.