Skip to content

Commit

Permalink
iac: add terraform script for google_composer_v1_environment resource
Browse files Browse the repository at this point in the history
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
  • Loading branch information
ahasunos committed Dec 7, 2023
1 parent 22ee5f9 commit 646b0d9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/integration/build/gcp-mm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ variable "scheduler_job" {
type = any
}

variable "cloud_composer" {
type = any
}

resource "google_compute_ssl_policy" "custom-ssl-policy" {
name = var.ssl_policy["name"]
Expand Down Expand Up @@ -1552,3 +1555,13 @@ resource "google_vertex_ai_index" "index" {
}
index_update_method = "STREAM_UPDATE"
}

resource "google_composer_v1_environment" "test" {
name = var.cloud_composer_v1["name"]
region = var.cloud_composer_v1["region"]
config {
software_config {
image_version = var.cloud_composer_v1["image_version"]
}
}
}
5 changes: 5 additions & 0 deletions test/integration/configuration/mm-attributes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -557,3 +557,8 @@ dlp:
name: "dlp-template-inspec"
location: "europe-west2"
type: "Infotype"

cloud_composer_v1:
name : "example-composer-env"
region : "us-central1"
image_version : "composer-1.20.12-airflow-2.4.3"

0 comments on commit 646b0d9

Please sign in to comment.