Skip to content

Commit

Permalink
added tf scripts
Browse files Browse the repository at this point in the history
Signed-off-by: balasubramanian-s <[email protected]>
  • Loading branch information
balasubramanian-s committed Oct 17, 2024
1 parent 3c821dc commit e2844be
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/integration/build/gcp-mm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ variable "data_fusion_instance" {
variable "cloud_run_jobs" {
type = any
}
variable "monitoring_group" {
type = any
}
resource "google_compute_ssl_policy" "custom-ssl-policy" {
name = var.ssl_policy["name"]
min_tls_version = var.ssl_policy["min_tls_version"]
Expand Down Expand Up @@ -2245,3 +2248,8 @@ resource "google_cloud_run_v2_job" "default" {
}
}
}
resource "google_monitoring_group" "inspec-test-group" {
project = var.gcp_project_id
display_name = var.monitoring_group.name
filter = var.monitoring_group.filter
}
4 changes: 4 additions & 0 deletions test/integration/configuration/mm-attributes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -751,3 +751,7 @@ cloud_run_jobs:
location: "us-central1"
deletion_protection: "false"
image: "us-central1-docker.pkg.dev/ppradhan/nas/balasubs_tutorial1_20230915_182543:latest"

monitoring_group:
name: "inspec-test-group"
filter: "resource.metadata.name = has_substring(\"inspec\")"

0 comments on commit e2844be

Please sign in to comment.