Skip to content

Bump dflook/terraform-plan from 3.0.1 to 3.1.0 - #47

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/dflook/terraform-plan-3.1.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/dflook/terraform-plan-3.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor

Bumps dflook/terraform-plan from 3.0.1 to 3.1.0.

Release notes

Sourced from dflook/terraform-plan's releases.

v3.1.0

This is one of a suite of terraform related actions - find them at dflook/terraform-github-actions.

You can see the changes for this release in the CHANGELOG

You can specify the action version as:

  • @v3.1.0 to use exactly this release
  • @v3.1 to use the latest patch release for the specific minor version
  • @v3 to use the latest patch release for the specific major version
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dflook/terraform-plan](https://github.com/dflook/terraform-plan) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/dflook/terraform-plan/releases)
- [Commits](dflook/terraform-plan@6c82d55...48e9046)

---
updated-dependencies:
- dependency-name: dflook/terraform-plan
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: github-actions. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Sep 14, 2026
@github-actions

Copy link
Copy Markdown

Terraform plan in .

Plan: 1 to add, 2 to change, 24 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+   create
!~  update in-place
-   destroy

Terraform will perform the following actions:

  # module.infrastructure.google_project_iam_member.project_roles["roles/artifactregistry.admin"] will be created
+   resource "google_project_iam_member" "project_roles" {
+       etag    = (known after apply)
+       id      = (known after apply)
+       member  = "serviceAccount:gha-cloud-functions-deployment@jeffreyhung-test.iam.gserviceaccount.com"
+       project = "jeffreyhung-test"
+       role    = "roles/artifactregistry.admin"
    }

  # module.infrastructure.google_storage_bucket.staging_bucket will be updated in-place
!~  resource "google_storage_bucket" "staging_bucket" {
        id                          = "jeffreyhung-test-cloud-function-staging"
        name                        = "jeffreyhung-test-cloud-function-staging"
#        (19 unchanged attributes hidden)

+       lifecycle_rule {
+           action {
+               type          = "Delete"
#                (1 unchanged attribute hidden)
            }
+           condition {
+               age                    = 90
+               matches_prefix         = []
+               matches_storage_class  = []
+               matches_suffix         = []
+               with_state             = (known after apply)
#                (3 unchanged attributes hidden)
            }
        }

#        (2 unchanged blocks hidden)
    }

  # module.infrastructure.google_storage_bucket_iam_binding.tfstate-bucket-iam will be updated in-place
!~  resource "google_storage_bucket_iam_binding" "tfstate-bucket-iam" {
        id      = "b/jeffreyhung-test-tfstate/roles/storage.objectUser"
!~      members = [
-           "serviceAccount:gha-cf-tf-plan@jeffreyhung-test.iam.gserviceaccount.com",
#            (1 unchanged element hidden)
        ]
#        (3 unchanged attributes hidden)
    }

  # module.infrastructure.google_storage_bucket_iam_member.staging_bucket_get will be destroyed
  # (because google_storage_bucket_iam_member.staging_bucket_get is not in configuration)
-   resource "google_storage_bucket_iam_member" "staging_bucket_get" {
-       bucket = "b/jeffreyhung-test-cloud-function-staging" -> null
-       etag   = "CAg=" -> null
-       id     = "b/jeffreyhung-test-cloud-function-staging/roles/storage.objectViewer/serviceAccount:gha-cloud-functions-deployment@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member = "serviceAccount:gha-cloud-functions-deployment@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       role   = "roles/storage.objectViewer" -> null
    }

  # module.infrastructure.google_storage_bucket_iam_member.tfstate_bucket_get will be destroyed
  # (because google_storage_bucket_iam_member.tfstate_bucket_get is not in configuration)
-   resource "google_storage_bucket_iam_member" "tfstate_bucket_get" {
-       bucket = "b/jeffreyhung-test-tfstate" -> null
-       etag   = "CBM=" -> null
-       id     = "b/jeffreyhung-test-tfstate/roles/storage.objectViewer/serviceAccount:gha-cloud-functions-deployment@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member = "serviceAccount:gha-cloud-functions-deployment@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       role   = "roles/storage.objectViewer" -> null
    }

  # module.functions.module.cloud_function_gen2["example-gen2-cron"].google_cloudfunctions2_function.function will be destroyed
  # (because module.functions.module.cloud_function_gen2["example-gen2-cron"] is not in configuration)
-   resource "google_cloudfunctions2_function" "function" {
-       deletion_policy  = "DELETE" -> null
-       description      = "gen2 cloud function example" -> null
-       effective_labels = {
-           "owner"       = "team-security"
-           "terraformed" = "true"
        } -> null
-       environment      = "GEN_2" -> null
-       id               = "projects/jeffreyhung-test/locations/us-west1/functions/example-gen2-cron" -> null
-       labels           = {
-           "owner"       = "team-security"
-           "terraformed" = "true"
        } -> null
-       location         = "us-west1" -> null
-       name             = "example-gen2-cron" -> null
-       project          = "jeffreyhung-test" -> null
-       state            = "ACTIVE" -> null
-       terraform_labels = {
-           "owner"       = "team-security"
-           "terraformed" = "true"
        } -> null
-       update_time      = "2026-09-03T00:07:07.957984113Z" -> null
-       url              = "https://us-west1-jeffreyhung-test.cloudfunctions.net/example-gen2-cron" -> null
#        (1 unchanged attribute hidden)

-       build_config {
-           build                 = "projects/546928617664/locations/us-west1/builds/689bc512-1b28-4e90-b83d-b0950abe0740" -> null
-           docker_repository     = "projects/jeffreyhung-test/locations/us-west1/repositories/gcf-artifacts" -> null
-           entry_point           = "main" -> null
-           environment_variables = {
-               "ENV_1" = "jeffreyhung-test"
-               "ENV_2" = "345"
            } -> null
-           runtime               = "python311" -> null
#            (2 unchanged attributes hidden)

-           source {
-               storage_source {
-                   bucket     = "jeffreyhung-test-cloud-function-staging" -> null
-                   generation = 1724887117997665 -> null
-                   object     = "src-03bdfabf8c7adb2ef887fe89f69a0dbe.zip" -> null
                }
            }
        }

-       service_config {
-           all_traffic_on_latest_revision   = true -> null
-           available_cpu                    = "0.0833" -> null
-           available_memory                 = "256M" -> null
-           environment_variables            = {
-               "ENV_1"            = "jeffreyhung-test"
-               "ENV_2"            = "345"
-               "LOG_EXECUTION_ID" = "****"
            } -> null
-           ingress_settings                 = "ALLOW_ALL" -> null
-           max_instance_count               = 100 -> null
-           max_instance_request_concurrency = 1 -> null
-           min_instance_count               = 0 -> null
-           service                          = "projects/jeffreyhung-test/locations/us-west1/services/example-gen2-cron" -> null
-           service_account_email            = "cf-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-           timeout_seconds                  = 60 -> null
-           uri                              = "https://example-gen2-cron-cxy77enrhq-uw.a.run.app" -> null
#            (5 unchanged attributes hidden)

-           secret_environment_variables {
-               key        = "test_key_1" -> null
-               project_id = "jeffreyhung-test" -> null
-               secret     = "test_key_1" -> null
-               version    = "latest" -> null
            }
        }
    }

  # module.functions.module.cloud_function_gen2["example-gen2-cron"].google_cloudfunctions2_function_iam_member.invoker_iam will be destroyed
  # (because google_cloudfunctions2_function_iam_member.invoker_iam is not in configuration)
-   resource "google_cloudfunctions2_function_iam_member" "invoker_iam" {
-       cloud_function = "projects/jeffreyhung-test/locations/us-west1/functions/example-gen2-cron" -> null
-       etag           = "BwZaiO7Aygw=" -> null
-       id             = "projects/jeffreyhung-test/locations/us-west1/functions/example-gen2-cron/roles/cloudfunctions.invoker/serviceAccount:cf-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       location       = "us-west1" -> null
-       member         = "serviceAccount:cf-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project        = "jeffreyhung-test" -> null
-       role           = "roles/cloudfunctions.invoker" -> null
    }

  # module.functions.module.cloud_function_gen2["example-gen2-cron"].google_project_iam_member.function_sa_logwriter_iam will be destroyed
  # (because module.functions.module.cloud_function_gen2["example-gen2-cron"] is not in configuration)
-   resource "google_project_iam_member" "function_sa_logwriter_iam" {
-       etag    = "BwZaiO8+XAk=" -> null
-       id      = "jeffreyhung-test/roles/logging.logWriter/serviceAccount:cf-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member  = "serviceAccount:cf-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project = "jeffreyhung-test" -> null
-       role    = "roles/logging.logWriter" -> null
    }

  # module.functions.module.cloud_function_gen2["example-gen2-cron"].google_secret_manager_secret_iam_member.secret_iam["test_key_1"] will be destroyed
  # (because module.functions.module.cloud_function_gen2["example-gen2-cron"] is not in configuration)
-   resource "google_secret_manager_secret_iam_member" "secret_iam" {
-       etag      = "BwYszAAiUZ0=" -> null
-       id        = "projects/jeffreyhung-test/secrets/test_key_1/roles/secretmanager.secretAccessor/serviceAccount:cf-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member    = "serviceAccount:cf-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project   = "jeffreyhung-test" -> null
-       role      = "roles/secretmanager.secretAccessor" -> null
-       secret_id = "projects/jeffreyhung-test/secrets/test_key_1" -> null
    }

  # module.functions.module.cloud_function_gen2["example-gen2-cron"].google_service_account.function_sa will be destroyed
  # (because module.functions.module.cloud_function_gen2["example-gen2-cron"] is not in configuration)
-   resource "google_service_account" "function_sa" {
-       account_id      = "cf-example-gen2-cron" -> null
-       deletion_policy = "DELETE" -> null
-       description     = "Service account for example-gen2-cron, owned by team-security, managed by Terraform" -> null
-       disabled        = false -> null
-       display_name    = "Cloud Function Service Account for example-gen2-cron" -> null
-       email           = "cf-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       id              = "projects/jeffreyhung-test/serviceAccounts/cf-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member          = "serviceAccount:cf-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       name            = "projects/jeffreyhung-test/serviceAccounts/cf-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project         = "jeffreyhung-test" -> null
-       unique_id       = "105361016037165043108" -> null
    }

  # module.functions.module.cloud_function_gen2["example-gen2-cron"].google_storage_bucket_object.zip will be destroyed
  # (because module.functions.module.cloud_function_gen2["example-gen2-cron"] is not in configuration)
-   resource "google_storage_bucket_object" "zip" {
-       bucket              = "jeffreyhung-test-cloud-function-staging" -> null
-       content_type        = "application/zip" -> null
-       crc32c              = "GfLWGQ==" -> null
-       deletion_policy     = "DELETE" -> null
-       detect_md5hash      = "A736v4x62y74h/6J9poNvg==" -> null
-       event_based_hold    = false -> null
-       generation          = 1784932750923616 -> null
-       id                  = "jeffreyhung-test-cloud-function-staging-src-03bdfabf8c7adb2ef887fe89f69a0dbe.zip" -> null
-       md5hash             = "A736v4x62y74h/6J9poNvg==" -> null
-       md5hexhash          = "03bdfabf8c7adb2ef887fe89f69a0dbe" -> null
-       media_link          = "https://storage.googleapis.com/download/storage/v1/b/jeffreyhung-test-cloud-function-staging/o/src-03bdfabf8c7adb2ef887fe89f69a0dbe.zip?generation=1784932750923616&alt=media" -> null
-       metadata            = {
-           "owner"       = "team-security"
-           "terraformed" = "true"
        } -> null
-       name                = "src-03bdfabf8c7adb2ef887fe89f69a0dbe.zip" -> null
-       output_name         = "src-03bdfabf8c7adb2ef887fe89f69a0dbe.zip" -> null
-       self_link           = "https://www.googleapis.com/storage/v1/b/jeffreyhung-test-cloud-function-staging/o/src-03bdfabf8c7adb2ef887fe89f69a0dbe.zip" -> null
-       source              = "/tmp/example-gen2-cron.zip" -> null
-       storage_class       = "STANDARD" -> null
-       temporary_hold      = false -> null
#        (6 unchanged attributes hidden)
    }

  # module.functions.module.cloud_function_gen2["get-gh-app-token"].google_cloudfunctions2_function.function will be destroyed
  # (because module.functions.module.cloud_function_gen2["get-gh-app-token"] is not in configuration)
-   resource "google_cloudfunctions2_function" "function" {
-       deletion_policy  = "DELETE" -> null
-       description      = "example for using github app in cloud function" -> null
-       effective_labels = {
-           "goog-terraform-provisioned" = "true"
-           "owner"                      = "team-security"
-           "terraformed"                = "true"
        } -> null
-       environment      = "GEN_2" -> null
-       id               = "projects/jeffreyhung-test/locations/us-west1/functions/get-gh-app-token" -> null
-       labels           = {
-           "owner"       = "team-security"
-           "terraformed" = "true"
        } -> null
-       location         = "us-west1" -> null
-       name             = "get-gh-app-token" -> null
-       project          = "jeffreyhung-test" -> null
-       state            = "ACTIVE" -> null
-       terraform_labels = {
-           "goog-terraform-provisioned" = "true"
-           "owner"                      = "team-security"
-           "terraformed"                = "true"
        } -> null
-       update_time      = "2026-09-02T18:06:38.144698120Z" -> null
-       url              = "https://us-west1-jeffreyhung-test.cloudfunctions.net/get-gh-app-token" -> null
#        (1 unchanged attribute hidden)

-       build_config {
-           build                 = "projects/546928617664/locations/us-west1/builds/44b67eb2-bda5-421c-99fe-414f6c835c9a" -> null
-           docker_repository     = "projects/jeffreyhung-test/locations/us-west1/repositories/gcf-artifacts" -> null
-           entry_point           = "main" -> null
-           environment_variables = {} -> null
-           runtime               = "python311" -> null
#            (2 unchanged attributes hidden)

-           automatic_update_policy {}

-           source {
-               storage_source {
-                   bucket     = "jeffreyhung-test-cloud-function-staging" -> null
-                   generation = 1738104634112667 -> null
-                   object     = "src-b8accd8c1708a7aa08b64f4e46452c3b.zip" -> null
                }
            }
        }

-       service_config {
-           all_traffic_on_latest_revision   = true -> null
-           available_cpu                    = "0.0833" -> null
-           available_memory                 = "256M" -> null
-           environment_variables            = {
-               "LOG_EXECUTION_ID" = "****"
            } -> null
-           ingress_settings                 = "ALLOW_ALL" -> null
-           max_instance_count               = 100 -> null
-           max_instance_request_concurrency = 1 -> null
-           min_instance_count               = 0 -> null
-           service                          = "projects/jeffreyhung-test/locations/us-west1/services/get-gh-app-token" -> null
-           service_account_email            = "cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-           timeout_seconds                  = 60 -> null
-           uri                              = "https://get-gh-app-token-cxy77enrhq-uw.a.run.app" -> null
#            (5 unchanged attributes hidden)

-           secret_environment_variables {
-               key        = "GH_APP_ID" -> null
-               project_id = "jeffreyhung-test" -> null
-               secret     = "GH_APP_ID" -> null
-               version    = "latest" -> null
            }
-           secret_environment_variables {
-               key        = "GH_APP_INSTALLATION_ID" -> null
-               project_id = "jeffreyhung-test" -> null
-               secret     = "GH_APP_INSTALLATION_ID" -> null
-               version    = "latest" -> null
            }
-           secret_environment_variables {
-               key        = "GH_APP_PRI_KEY" -> null
-               project_id = "jeffreyhung-test" -> null
-               secret     = "GH_APP_PRI_KEY" -> null
-               version    = "latest" -> null
            }
        }
    }

  # module.functions.module.cloud_function_gen2["get-gh-app-token"].google_cloudfunctions2_function_iam_member.invoker_iam will be destroyed
  # (because google_cloudfunctions2_function_iam_member.invoker_iam is not in configuration)
-   resource "google_cloudfunctions2_function_iam_member" "invoker_iam" {
-       cloud_function = "projects/jeffreyhung-test/locations/us-west1/functions/get-gh-app-token" -> null
-       etag           = "BwYt5cWtNig=" -> null
-       id             = "projects/jeffreyhung-test/locations/us-west1/functions/get-gh-app-token/roles/cloudfunctions.invoker/serviceAccount:cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       location       = "us-west1" -> null
-       member         = "serviceAccount:cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project        = "jeffreyhung-test" -> null
-       role           = "roles/cloudfunctions.invoker" -> null
    }

  # module.functions.module.cloud_function_gen2["get-gh-app-token"].google_project_iam_member.function_sa_logwriter_iam will be destroyed
  # (because module.functions.module.cloud_function_gen2["get-gh-app-token"] is not in configuration)
-   resource "google_project_iam_member" "function_sa_logwriter_iam" {
-       etag    = "BwZaiO8+XAk=" -> null
-       id      = "jeffreyhung-test/roles/logging.logWriter/serviceAccount:cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member  = "serviceAccount:cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project = "jeffreyhung-test" -> null
-       role    = "roles/logging.logWriter" -> null
    }

  # module.functions.module.cloud_function_gen2["get-gh-app-token"].google_secret_manager_secret_iam_member.secret_iam["GH_APP_ID"] will be destroyed
  # (because module.functions.module.cloud_function_gen2["get-gh-app-token"] is not in configuration)
-   resource "google_secret_manager_secret_iam_member" "secret_iam" {
-       etag      = "BwYsy/kbUZY=" -> null
-       id        = "projects/jeffreyhung-test/secrets/GH_APP_ID/roles/secretmanager.secretAccessor/serviceAccount:cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member    = "serviceAccount:cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project   = "jeffreyhung-test" -> null
-       role      = "roles/secretmanager.secretAccessor" -> null
-       secret_id = "projects/jeffreyhung-test/secrets/GH_APP_ID" -> null
    }

  # module.functions.module.cloud_function_gen2["get-gh-app-token"].google_secret_manager_secret_iam_member.secret_iam["GH_APP_INSTALLATION_ID"] will be destroyed
  # (because module.functions.module.cloud_function_gen2["get-gh-app-token"] is not in configuration)
-   resource "google_secret_manager_secret_iam_member" "secret_iam" {
-       etag      = "BwYsy/keYIs=" -> null
-       id        = "projects/jeffreyhung-test/secrets/GH_APP_INSTALLATION_ID/roles/secretmanager.secretAccessor/serviceAccount:cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member    = "serviceAccount:cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project   = "jeffreyhung-test" -> null
-       role      = "roles/secretmanager.secretAccessor" -> null
-       secret_id = "projects/jeffreyhung-test/secrets/GH_APP_INSTALLATION_ID" -> null
    }

  # module.functions.module.cloud_function_gen2["get-gh-app-token"].google_secret_manager_secret_iam_member.secret_iam["GH_APP_PRI_KEY"] will be destroyed
  # (because module.functions.module.cloud_function_gen2["get-gh-app-token"] is not in configuration)
-   resource "google_secret_manager_secret_iam_member" "secret_iam" {
-       etag      = "BwYsy/jhXsg=" -> null
-       id        = "projects/jeffreyhung-test/secrets/GH_APP_PRI_KEY/roles/secretmanager.secretAccessor/serviceAccount:cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member    = "serviceAccount:cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project   = "jeffreyhung-test" -> null
-       role      = "roles/secretmanager.secretAccessor" -> null
-       secret_id = "projects/jeffreyhung-test/secrets/GH_APP_PRI_KEY" -> null
    }

  # module.functions.module.cloud_function_gen2["get-gh-app-token"].google_service_account.function_sa will be destroyed
  # (because module.functions.module.cloud_function_gen2["get-gh-app-token"] is not in configuration)
-   resource "google_service_account" "function_sa" {
-       account_id      = "cf-get-gh-app-token" -> null
-       deletion_policy = "DELETE" -> null
-       description     = "Service account for get-gh-app-token, owned by team-security, managed by Terraform" -> null
-       disabled        = false -> null
-       display_name    = "Cloud Function Service Account for get-gh-app-token" -> null
-       email           = "cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       id              = "projects/jeffreyhung-test/serviceAccounts/cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member          = "serviceAccount:cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       name            = "projects/jeffreyhung-test/serviceAccounts/cf-get-gh-app-token@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project         = "jeffreyhung-test" -> null
-       unique_id       = "104033735476450477916" -> null
    }

  # module.functions.module.cloud_function_gen2["get-gh-app-token"].google_storage_bucket_object.zip will be destroyed
  # (because module.functions.module.cloud_function_gen2["get-gh-app-token"] is not in configuration)
-   resource "google_storage_bucket_object" "zip" {
-       bucket              = "jeffreyhung-test-cloud-function-staging" -> null
-       content_type        = "application/zip" -> null
-       crc32c              = "JHDtsQ==" -> null
-       deletion_policy     = "DELETE" -> null
-       detect_md5hash      = "uKzNjBcIp6oItk9ORkUsOw==" -> null
-       event_based_hold    = false -> null
-       generation          = 1788372339084652 -> null
-       id                  = "jeffreyhung-test-cloud-function-staging-src-b8accd8c1708a7aa08b64f4e46452c3b.zip" -> null
-       md5hash             = "uKzNjBcIp6oItk9ORkUsOw==" -> null
-       md5hexhash          = "b8accd8c1708a7aa08b64f4e46452c3b" -> null
-       media_link          = "https://storage.googleapis.com/download/storage/v1/b/jeffreyhung-test-cloud-function-staging/o/src-b8accd8c1708a7aa08b64f4e46452c3b.zip?generation=1788372339084652&alt=media" -> null
-       metadata            = {
-           "owner"       = "team-security"
-           "terraformed" = "true"
        } -> null
-       name                = "src-b8accd8c1708a7aa08b64f4e46452c3b.zip" -> null
-       output_name         = "src-b8accd8c1708a7aa08b64f4e46452c3b.zip" -> null
-       self_link           = "https://www.googleapis.com/storage/v1/b/jeffreyhung-test-cloud-function-staging/o/src-b8accd8c1708a7aa08b64f4e46452c3b.zip" -> null
-       source              = "/tmp/get-gh-app-token.zip" -> null
-       storage_class       = "STANDARD" -> null
-       temporary_hold      = false -> null
#        (6 unchanged attributes hidden)
    }

  # module.functions.module.cronjob-gen2["example-gen2-cron"].google_cloud_run_service_iam_member.cj_gen2_cron_invoker will be destroyed
  # (because module.functions.module.cronjob-gen2["example-gen2-cron"] is not in configuration)
-   resource "google_cloud_run_service_iam_member" "cj_gen2_cron_invoker" {
-       etag     = "BwYgxaRHaoI=" -> null
-       id       = "v1/projects/jeffreyhung-test/locations/us-west1/services/example-gen2-cron/roles/run.invoker/serviceAccount:cj-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       location = "us-west1" -> null
-       member   = "serviceAccount:cj-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project  = "jeffreyhung-test" -> null
-       role     = "roles/run.invoker" -> null
-       service  = "v1/projects/jeffreyhung-test/locations/us-west1/services/example-gen2-cron" -> null
    }

  # module.functions.module.cronjob-gen2["example-gen2-cron"].google_cloud_scheduler_job.cron_scheduler will be destroyed
  # (because module.functions.module.cronjob-gen2["example-gen2-cron"] is not in configuration)
-   resource "google_cloud_scheduler_job" "cron_scheduler" {
-       attempt_deadline = "320s" -> null
-       deletion_policy  = "DELETE" -> null
-       description      = "gen2 cloud function example" -> null
-       id               = "projects/jeffreyhung-test/locations/us-west1/jobs/example-gen2-cron" -> null
-       name             = "example-gen2-cron" -> null
-       paused           = false -> null
-       project          = "jeffreyhung-test" -> null
-       region           = "us-west1" -> null
-       schedule         = "0 * * * *" -> null
-       state            = "ENABLED" -> null
-       time_zone        = "America/New_York" -> null

-       http_target {
-           headers     = {} -> null
-           http_method = "GET" -> null
-           uri         = "https://us-west1-jeffreyhung-test.cloudfunctions.net/example-gen2-cron" -> null
#            (1 unchanged attribute hidden)

-           oidc_token {
-               audience              = "https://us-west1-jeffreyhung-test.cloudfunctions.net/example-gen2-cron" -> null
-               service_account_email = "cj-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
            }
        }
    }

  # module.functions.module.cronjob-gen2["example-gen2-cron"].google_cloudfunctions2_function_iam_member.cj_gen2_cron_invoker will be destroyed
  # (because module.functions.module.cronjob-gen2["example-gen2-cron"] is not in configuration)
-   resource "google_cloudfunctions2_function_iam_member" "cj_gen2_cron_invoker" {
-       cloud_function = "projects/jeffreyhung-test/locations/us-west1/functions/example-gen2-cron" -> null
-       etag           = "BwZaiO7Aygw=" -> null
-       id             = "projects/jeffreyhung-test/locations/us-west1/functions/example-gen2-cron/roles/cloudfunctions.invoker/serviceAccount:cj-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       location       = "us-west1" -> null
-       member         = "serviceAccount:cj-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project        = "jeffreyhung-test" -> null
-       role           = "roles/cloudfunctions.invoker" -> null
    }

  # module.functions.module.cronjob-gen2["example-gen2-cron"].google_service_account.cronjob_sa will be destroyed
  # (because module.functions.module.cronjob-gen2["example-gen2-cron"] is not in configuration)
-   resource "google_service_account" "cronjob_sa" {
-       account_id      = "cj-example-gen2-cron" -> null
-       deletion_policy = "DELETE" -> null
-       description     = "Service account for example-gen2-cron, owned by team-security, managed by Terraform" -> null
-       disabled        = false -> null
-       display_name    = "CronJob Service Account for example-gen2-cron" -> null
-       email           = "cj-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       id              = "projects/jeffreyhung-test/serviceAccounts/cj-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member          = "serviceAccount:cj-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       name            = "projects/jeffreyhung-test/serviceAccounts/cj-example-gen2-cron@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project         = "jeffreyhung-test" -> null
-       unique_id       = "109079883649630638593" -> null
    }

  # module.workflows.module.workflows["example-eventarc"].google_service_account.workflow_sa will be destroyed
  # (because module.workflows.module.workflows["example-eventarc"] is not in configuration)
-   resource "google_service_account" "workflow_sa" {
-       account_id      = "wf-example-eventarc" -> null
-       deletion_policy = "DELETE" -> null
-       description     = "Service account for example-eventarc, owned by team-security, managed by Terraform" -> null
-       disabled        = false -> null
-       display_name    = "Workflow Service Account for example-eventarc" -> null
-       email           = "wf-example-eventarc@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       id              = "projects/jeffreyhung-test/serviceAccounts/wf-example-eventarc@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member          = "serviceAccount:wf-example-eventarc@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       name            = "projects/jeffreyhung-test/serviceAccounts/wf-example-eventarc@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project         = "jeffreyhung-test" -> null
-       unique_id       = "113531995145961483452" -> null
    }

  # module.workflows.module.workflows["example-eventarc"].google_workflows_workflow.workflow will be destroyed
  # (because module.workflows.module.workflows["example-eventarc"] is not in configuration)
-   resource "google_workflows_workflow" "workflow" {
-       create_time             = "2025-01-30T22:29:16.501888137Z" -> null
-       deletion_policy         = "DELETE" -> null
-       deletion_protection     = true -> null
-       description             = "example workflow with eventarc" -> null
-       effective_labels        = {
-           "goog-terraform-provisioned" = "true"
-           "owner"                      = "team-security"
-           "terraformed"                = "true"
        } -> null
-       id                      = "projects/jeffreyhung-test/locations/us-west1/workflows/example-eventarc" -> null
-       labels                  = {
-           "owner"       = "team-security"
-           "terraformed" = "true"
        } -> null
-       name                    = "example-eventarc" -> null
-       project                 = "jeffreyhung-test" -> null
-       revision_id             = "000001-88d" -> null
-       service_account         = "projects/jeffreyhung-test/serviceAccounts/wf-example-eventarc@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       source_contents         = <<-EOT
            main:
              steps:
                - example_gen2_cron:
                    call: http.post
                    args:
                      url: https://us-west1-jeffreyhung-test.cloudfunctions.net/example-gen2-cron
                      auth:
                        type: OIDC
                        audience: https://us-west1-jeffreyhung-test.cloudfunctions.net/example-gen2-cron
        EOT -> null
-       state                   = "ACTIVE" -> null
-       terraform_labels        = {
-           "goog-terraform-provisioned" = "true"
-           "owner"                      = "team-security"
-           "terraformed"                = "true"
        } -> null
-       update_time             = "2025-02-12T17:04:55.372682917Z" -> null
-       user_env_vars           = {} -> null
#        (3 unchanged attributes hidden)
    }

  # module.workflows.module.workflows["example1"].google_service_account.workflow_sa will be destroyed
  # (because module.workflows.module.workflows["example1"] is not in configuration)
-   resource "google_service_account" "workflow_sa" {
-       account_id      = "wf-example1" -> null
-       deletion_policy = "DELETE" -> null
-       description     = "Service account for example1, owned by team-security, managed by Terraform" -> null
-       disabled        = false -> null
-       display_name    = "Workflow Service Account for example1" -> null
-       email           = "wf-example1@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       id              = "projects/jeffreyhung-test/serviceAccounts/wf-example1@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       member          = "serviceAccount:wf-example1@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       name            = "projects/jeffreyhung-test/serviceAccounts/wf-example1@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       project         = "jeffreyhung-test" -> null
-       unique_id       = "111860599451351782149" -> null
    }

  # module.workflows.module.workflows["example1"].google_workflows_workflow.workflow will be destroyed
  # (because module.workflows.module.workflows["example1"] is not in configuration)
-   resource "google_workflows_workflow" "workflow" {
-       create_time             = "2025-01-28T22:57:34.911814537Z" -> null
-       deletion_policy         = "DELETE" -> null
-       deletion_protection     = true -> null
-       description             = "example workflow" -> null
-       effective_labels        = {
-           "goog-terraform-provisioned" = "true"
-           "owner"                      = "team-security"
-           "terraformed"                = "true"
        } -> null
-       id                      = "projects/jeffreyhung-test/locations/us-west1/workflows/example1" -> null
-       labels                  = {
-           "owner"       = "team-security"
-           "terraformed" = "true"
        } -> null
-       name                    = "example1" -> null
-       project                 = "jeffreyhung-test" -> null
-       revision_id             = "000001-2ab" -> null
-       service_account         = "projects/jeffreyhung-test/serviceAccounts/wf-example1@jeffreyhung-test.iam.gserviceaccount.com" -> null
-       source_contents         = <<-EOT
            main:
              steps:
                - example_gen2_cron:
                    call: http.post
                    args:
                      url: https://us-west1-jeffreyhung-test.cloudfunctions.net/example-gen2-cron
                      auth:
                        type: OIDC
                        audience: https://us-west1-jeffreyhung-test.cloudfunctions.net/example-gen2-cron
        EOT -> null
-       state                   = "ACTIVE" -> null
-       terraform_labels        = {
-           "goog-terraform-provisioned" = "true"
-           "owner"                      = "team-security"
-           "terraformed"                = "true"
        } -> null
-       update_time             = "2025-02-12T17:04:55.409684045Z" -> null
-       user_env_vars           = {} -> null
#        (3 unchanged attributes hidden)
    }

Plan: 1 to add, 2 to change, 24 to destroy.

📝 Plan generated in Terraform Plan #72

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants