Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gcp ubuntu version to 2204 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cschar
Copy link

@cschar cschar commented Oct 12, 2023

PR for issue 4

When running terraform apply my gcp module could not find the 1804-lts

│ Error: Error resolving image name 'ubuntu-os-cloud/ubuntu-1804-lts': Could not find image or family ubuntu-os-cloud/ubuntu-1804-lts

│ with module.gcp.google_compute_instance.compute_instance,
│ on .terraform/modules/gcp/modules/gcp/main.tf line 32, in resource "google_compute_instance" "compute_instance":
│ 32: resource "google_compute_instance" "compute_instance" {

Running the find image command from https://ubuntu.com/server/docs/cloud-images/google-cloud-engine
gcloud compute images list --filter ubuntu-os-cloud

NAME                                       PROJECT          FAMILY                         DEPRECATED  STATUS
ubuntu-2004-focal-arm64-v20230918          ubuntu-os-cloud  ubuntu-2004-lts-arm64                      READY
ubuntu-2004-focal-v20230918                ubuntu-os-cloud  ubuntu-2004-lts                            READY
ubuntu-2204-jammy-arm64-v20230919          ubuntu-os-cloud  ubuntu-2204-lts-arm64                      READY
ubuntu-2204-jammy-v20230919                ubuntu-os-cloud  ubuntu-2204-lts                            READY
ubuntu-2304-lunar-amd64-v20231003          ubuntu-os-cloud  ubuntu-2304-amd64                          READY
ubuntu-2304-lunar-arm64-v20231003          ubuntu-os-cloud  ubuntu-2304-arm64                          READY
ubuntu-minimal-2004-focal-arm64-v20230919  ubuntu-os-cloud  ubuntu-minimal-2004-lts-arm64              READY
ubuntu-minimal-2004-focal-v20230919        ubuntu-os-cloud  ubuntu-minimal-2004-lts                    READY
ubuntu-minimal-2204-jammy-arm64-v20231003  ubuntu-os-cloud  ubuntu-minimal-2204-lts-arm64              READY
ubuntu-minimal-2204-jammy-v20231003        ubuntu-os-cloud  ubuntu-minimal-2204-lts                    READY
ubuntu-minimal-2304-lunar-amd64-v20230919  ubuntu-os-cloud  ubuntu-minimal-2304-amd64                  READY
ubuntu-minimal-2304-lunar-arm64-v20230919  ubuntu-os-cloud  ubuntu-minimal-2304-arm64                  READY

I don't get 1804-lts as a result anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant