FAQ | This is a LIVE service | Changelog

Skip to content

fix: refactor auth-proxy module into main Terraform as this module was unnecessary

Roy Harrington requested to merge issue-9-refactory-auth-proxy-terraform into master

Closes #9 (closed)

Tested against devops/digital-admissions/admissions-portal/ap-deployment:

  • changed module "malware_scanner_healthcheck_full" in malware_scanner.tf to new version of gcp-site-monitoring
  • no changes required
Terraform will perform the following actions:

  # module.malware_scanner_healthcheck_full[0].module.authentication_proxy[0].google_cloud_run_service_iam_member.uptime_check_invoker has moved to module.malware_scanner_healthcheck_full[0].google_cloud_run_service_iam_member.uptime_check_invoker
    resource "google_cloud_run_service_iam_member" "uptime_check_invoker" {
        id       = "v1/projects/ap-prod-43267ef1/locations/europe-west2/services/malware-scanner/roles/run.invoker/serviceAccount:malware-uptime-sa-0663@ap-prod-43267ef1.iam.gserviceaccount.com"
        # (6 unchanged attributes hidden)
    }

  # module.malware_scanner_healthcheck_full[0].module.authentication_proxy[0].module.uptime_check_auth_proxy.google_cloudfunctions_function.function has moved to module.malware_scanner_healthcheck_full[0].module.uptime_check_auth_proxy.google_cloudfunctions_function.function
    resource "google_cloudfunctions_function" "function" {
        id                           = "projects/ap-prod-43267ef1/locations/europe-west2/functions/malware-uptime-3263"
        name                         = "malware-uptime-3263"
        # (20 unchanged attributes hidden)
    }

  # module.malware_scanner_healthcheck_full[0].module.authentication_proxy[0].module.uptime_check_auth_proxy.google_cloudfunctions_function_iam_member.function_all_invoker[0] has moved to module.malware_scanner_healthcheck_full[0].module.uptime_check_auth_proxy.google_cloudfunctions_function_iam_member.function_all_invoker[0]
    resource "google_cloudfunctions_function_iam_member" "function_all_invoker" {
        id             = "projects/ap-prod-43267ef1/locations/europe-west2/functions/malware-uptime-3263/roles/cloudfunctions.invoker/allUsers"
        # (6 unchanged attributes hidden)
    }

  # module.malware_scanner_healthcheck_full[0].module.authentication_proxy[0].module.uptime_check_auth_proxy.google_cloudfunctions_function_iam_member.function_invoker_permission has moved to module.malware_scanner_healthcheck_full[0].module.uptime_check_auth_proxy.google_cloudfunctions_function_iam_member.function_invoker_permission
    resource "google_cloudfunctions_function_iam_member" "function_invoker_permission" {
        id             = "projects/ap-prod-43267ef1/locations/europe-west2/functions/malware-uptime-3263/roles/cloudfunctions.invoker/serviceAccount:malware-uptime-sa-0663@ap-prod-43267ef1.iam.gserviceaccount.com"
        # (6 unchanged attributes hidden)
    }

  # module.malware_scanner_healthcheck_full[0].module.authentication_proxy[0].module.uptime_check_auth_proxy.google_service_account.function_invoker has moved to module.malware_scanner_healthcheck_full[0].module.uptime_check_auth_proxy.google_service_account.function_invoker
    resource "google_service_account" "function_invoker" {
        id           = "projects/ap-prod-43267ef1/serviceAccounts/malware-uptime-sa-0663@ap-prod-43267ef1.iam.gserviceaccount.com"
        name         = "projects/ap-prod-43267ef1/serviceAccounts/malware-uptime-sa-0663@ap-prod-43267ef1.iam.gserviceaccount.com"
        # (7 unchanged attributes hidden)
    }

  # module.malware_scanner_healthcheck_full[0].module.authentication_proxy[0].module.uptime_check_auth_proxy.google_storage_bucket.function_storage has moved to module.malware_scanner_healthcheck_full[0].module.uptime_check_auth_proxy.google_storage_bucket.function_storage
    resource "google_storage_bucket" "function_storage" {
        id                          = "malware-uptime-function-source-8c01d0c7"
        name                        = "malware-uptime-function-source-8c01d0c7"
        # (11 unchanged attributes hidden)
    }

  # module.malware_scanner_healthcheck_full[0].module.authentication_proxy[0].module.uptime_check_auth_proxy.google_storage_bucket_object.function_object has moved to module.malware_scanner_healthcheck_full[0].module.uptime_check_auth_proxy.google_storage_bucket_object.function_object
    resource "google_storage_bucket_object" "function_object" {
        id               = "malware-uptime-function-source-8c01d0c7-source-UtD4uNfNW6P1X9xRhQEzt3GzQVBwdpmLy+b6s2gemCo=.zip"
        name             = "source-UtD4uNfNW6P1X9xRhQEzt3GzQVBwdpmLy+b6s2gemCo=.zip"
        # (13 unchanged attributes hidden)
    }

  # module.malware_scanner_healthcheck_full[0].module.authentication_proxy[0].module.uptime_check_auth_proxy.random_id.function_invoker_sa has moved to module.malware_scanner_healthcheck_full[0].module.uptime_check_auth_proxy.random_id.function_invoker_sa
    resource "random_id" "function_invoker_sa" {
        id          = "BmM"
        # (6 unchanged attributes hidden)
    }

  # module.malware_scanner_healthcheck_full[0].module.authentication_proxy[0].module.uptime_check_auth_proxy.random_id.function_name has moved to module.malware_scanner_healthcheck_full[0].module.uptime_check_auth_proxy.random_id.function_name
    resource "random_id" "function_name" {
        id          = "MmM"
        # (6 unchanged attributes hidden)
    }

  # module.malware_scanner_healthcheck_full[0].module.authentication_proxy[0].module.uptime_check_auth_proxy.random_id.source_bucket_name has moved to module.malware_scanner_healthcheck_full[0].module.uptime_check_auth_proxy.random_id.source_bucket_name
    resource "random_id" "source_bucket_name" {
        id          = "jAHQxw"
        # (6 unchanged attributes hidden)
    }

Plan: 0 to add, 0 to change, 0 to destroy.

Merge request reports

Loading