Skip to content

Commit

Permalink
pin composer images to v1.10 (#5111) (#9909)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Aug 25, 2021
1 parent c3eb6e9 commit 5172787
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .changelog/5111.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
10 changes: 2 additions & 8 deletions google/resource_composer_environment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,6 @@ resource "google_compute_subnetwork" "test" {

func testAccComposerEnvironment_update(name, network, subnetwork string) string {
return fmt.Sprintf(`
data "google_composer_image_versions" "all" {
}
resource "google_composer_environment" "test" {
name = "%s"
region = "us-central1"
Expand All @@ -390,7 +387,7 @@ resource "google_composer_environment" "test" {
}
software_config {
image_version = data.google_composer_image_versions.all.image_versions[0].image_version_id
image_version = "composer-1.16.14-airflow-1.10.15"
airflow_config_overrides = {
core-load_example = "True"
Expand Down Expand Up @@ -475,9 +472,6 @@ resource "google_project_iam_member" "composer-worker" {

func testAccComposerEnvironment_softwareCfg(name, network, subnetwork string) string {
return fmt.Sprintf(`
data "google_composer_image_versions" "all" {
}
resource "google_composer_environment" "test" {
name = "%s"
region = "us-central1"
Expand All @@ -488,7 +482,7 @@ resource "google_composer_environment" "test" {
zone = "us-central1-a"
}
software_config {
image_version = data.google_composer_image_versions.all.image_versions[0].image_version_id
image_version = "composer-1.16.14-airflow-1.10.15"
python_version = "3"
}
}
Expand Down

0 comments on commit 5172787

Please sign in to comment.