GoogleCloudPlatform / GoogleCloudPlatform/knowledge-catalog-labs

composer error

Open
#49 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
101
Forks
47
Avg merge
1d 19h
Merged PRs (30d)
4

Description

```
Error: googleapi: Error 400: Found 1 problem:
│ 1) Unsupported image version for new environment: 'composer-2.1.3-airflow-2.3.4'. Currently suggested new environment image versions are: [composer-2.6.6-airflow-2.7.3, composer-2.6.6-airflow-2.6.3, composer-2.6.6-airflow-2.5.3]., badRequest

│ with google_composer_environment.create_cloud_composer_env,
│ on main.tf line 735, in resource "google_composer_environment" "create_cloud_composer_env":
│ 735: resource "google_composer_environment" "create_cloud_composer_env" {

```
fixed with
export CLOUD_COMPOSER_IMG_VERSION=composer-2.6.6-airflow-2.5.3

Contributor guide

Open the contributing guide

Research direction

Start at main.tf line 735, where the google_composer_environment resource is defined, and check how the CLOUD_COMPOSER_IMG_VERSION value is supplied. Verify that the configuration uses a currently supported image version such as composer-2.6.6-airflow-2.5.3, then rerun the environment creation to confirm the unsupported-version error is gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp, terraform
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.