Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GPF-242] Loading components DLR-Search & DLR-Profile #138

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

eloluap
Copy link
Contributor

@eloluap eloluap commented Mar 6, 2022

Closes: GPF-242

Comments

Added the loading components for DLR-Search and for opening the DLR-Profile Page.
I dont think we need loading components for creating and deleting the Dienstleister due to the fact that most of the time there is no coldstart when doing that. What do you think about that? Should we add those anyway?
I also fixed the background and address deleted on first search bug for DLR-Search. (GPF-282)
Still another bug left which I was not able to fix. It has something to do with out font.
But its probably not necessary to fix it, if @kai-konitzer will change the design anyways.

Changes

  • Added Loading component for DLR-Search
  • Minor Bug fixes DLR-Search
  • Added Loading component for DLR-Profile when opening the site

@eloluap eloluap requested review from malte-j and kai-konitzer March 6, 2022 18:06
@github-actions
Copy link

github-actions bot commented Mar 6, 2022

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Terraform Plan 📖success

Show Plan

terraform
random_password.dlr_staging_db_password: Refreshing state... [id=none]
random_password.staging_db_password: Refreshing state... [id=none]
random_password.dlr_database_password: Refreshing state... [id=none]
random_password.database_password: Refreshing state... [id=none]
google_project_service.sql: Refreshing state... [id=venture-capitol/sqladmin.googleapis.com]
google_project_service.places: Refreshing state... [id=venture-capitol/places-backend.googleapis.com]
google_project_service.iam: Refreshing state... [id=venture-capitol/iam.googleapis.com]
google_project_service.secretmanager: Refreshing state... [id=venture-capitol/secretmanager.googleapis.com]
google_project_service.maps: Refreshing state... [id=venture-capitol/maps-backend.googleapis.com]
google_project_service.run: Refreshing state... [id=venture-capitol/run.googleapis.com]
google_storage_bucket.frontend_staging: Refreshing state... [id=vc-frontend-staging]
google_storage_default_object_access_control.public_access: Refreshing state... [id=vc-frontend-staging/allUsers]
google_service_account.dlr_staging_backend_sa: Refreshing state... [id=projects/venture-capitol/serviceAccounts/[email protected]]
google_secret_manager_secret.dlr_staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/dlr_staging_db_connection_string]
google_secret_manager_secret.dlr_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/dlr_db_connection_string]
google_sql_database_instance.vc_db: Refreshing state... [id=vc-backend-database]
google_secret_manager_secret.staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/staging_db_connection_string]
google_secret_manager_secret.db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/db_connection_string]
google_service_account.dlr_backend_sa: Refreshing state... [id=projects/venture-capitol/serviceAccounts/[email protected]]
google_service_account.backend_sa: Refreshing state... [id=projects/venture-capitol/serviceAccounts/[email protected]]
google_secret_manager_secret_iam_binding.dlr_db_connection_string_access: Refreshing state... [id=projects/venture-capitol/secrets/dlr_db_connection_string/roles/secretmanager.secretAccessor]
google_secret_manager_secret_iam_binding.db_connection_string_access: Refreshing state... [id=projects/venture-capitol/secrets/db_connection_string/roles/secretmanager.secretAccessor]
google_secret_manager_secret_iam_binding.staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/staging_db_connection_string/roles/secretmanager.secretAccessor]
google_project_iam_binding.service_permissions["run.admin"]: Refreshing state... [id=venture-capitol/roles/run.admin]
google_project_iam_binding.service_permissions["cloudsql.client"]: Refreshing state... [id=venture-capitol/roles/cloudsql.client]
google_secret_manager_secret_iam_binding.dlr_staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/dlr_staging_db_connection_string/roles/secretmanager.secretAccessor]
google_sql_user.dlr_staging_database_user: Refreshing state... [id=dlr_staging_backend_user//vc-backend-database]
google_sql_user.database_user: Refreshing state... [id=backend_user//vc-backend-database]
google_sql_database.dlr_staging_backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/dlr_staging_backend]
google_sql_user.staging_database_user: Refreshing state... [id=staging_backend_user//vc-backend-database]
google_sql_database.staging_backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/staging_backend]
google_sql_user.dlr_database_user: Refreshing state... [id=dlr_backend_user//vc-backend-database]
google_secret_manager_secret_version.dlr_staging_db_connection_string: Refreshing state... [id=projects/122736358705/secrets/dlr_staging_db_connection_string/versions/2]
google_sql_database.dlr_backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/dlr_backend]
google_secret_manager_secret_version.staging_db_connection_string: Refreshing state... [id=projects/122736358705/secrets/staging_db_connection_string/versions/3]
google_secret_manager_secret_version.db_connection_string_data: Refreshing state... [id=projects/122736358705/secrets/db_connection_string/versions/1]
google_secret_manager_secret_version.dlr_db_connection_string_data: Refreshing state... [id=projects/122736358705/secrets/dlr_db_connection_string/versions/1]
google_sql_database.backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/backend]
google_cloud_run_service.dlr_staging_backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/dlr-backend-staging]
google_cloud_run_service.staging_backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/vc-backend-staging]
google_cloud_run_service.backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/vc-backend]
google_cloud_run_service.dlr_backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/dlr-backend]
google_cloud_run_service_iam_policy.gpf_staging_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/vc-backend-staging]
google_cloud_run_service_iam_policy.dlr_staging_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/dlr-backend-staging]
google_cloud_run_service_iam_policy.dlr_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/dlr-backend]
google_cloud_run_service_iam_policy.gpf_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/vc-backend]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # google_cloud_run_service.backend will be updated in-place
  ~ resource "google_cloud_run_service" "backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/vc-backend"
        name                       = "vc-backend"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/backend:d90ddc" -> "europe-west1-docker.pkg.dev/venture-capitol/images/backend:7b48cb"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

  # google_cloud_run_service.dlr_backend will be updated in-place
  ~ resource "google_cloud_run_service" "dlr_backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/dlr-backend"
        name                       = "dlr-backend"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/dlr:d90ddc" -> "us-docker.pkg.dev/cloudrun/container/hello"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

  # google_cloud_run_service.dlr_staging_backend will be updated in-place
  ~ resource "google_cloud_run_service" "dlr_staging_backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/dlr-backend-staging"
        name                       = "dlr-backend-staging"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/dlr:14b28a" -> "us-docker.pkg.dev/cloudrun/container/hello"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

  # google_cloud_run_service.staging_backend will be updated in-place
  ~ resource "google_cloud_run_service" "staging_backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/vc-backend-staging"
        name                       = "vc-backend-staging"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/backend:14b28a" -> "europe-west1-docker.pkg.dev/venture-capitol/images/backend:7b48cb"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

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

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

@eloluap eloluap self-assigned this Mar 6, 2022
kai-konitzer
kai-konitzer previously approved these changes Mar 7, 2022
Copy link
Contributor

@kai-konitzer kai-konitzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good so far, konnte es jz zeitlich doch noch nicht austesten, ansonsten eben was Malte meint

@github-actions
Copy link

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Terraform Plan 📖success

Show Plan

terraform
Acquiring state lock. This may take a few moments...
random_password.dlr_database_password: Refreshing state... [id=none]
random_password.dlr_staging_db_password: Refreshing state... [id=none]
random_password.staging_db_password: Refreshing state... [id=none]
random_password.database_password: Refreshing state... [id=none]
google_project_service.places: Refreshing state... [id=venture-capitol/places-backend.googleapis.com]
google_project_service.secretmanager: Refreshing state... [id=venture-capitol/secretmanager.googleapis.com]
google_project_service.maps: Refreshing state... [id=venture-capitol/maps-backend.googleapis.com]
google_project_service.run: Refreshing state... [id=venture-capitol/run.googleapis.com]
google_project_service.sql: Refreshing state... [id=venture-capitol/sqladmin.googleapis.com]
google_project_service.iam: Refreshing state... [id=venture-capitol/iam.googleapis.com]
google_storage_bucket.media_storage: Refreshing state... [id=vc-media]
google_storage_bucket.frontend_staging: Refreshing state... [id=vc-frontend-staging]
google_storage_default_object_access_control.public_access: Refreshing state... [id=vc-frontend-staging/allUsers]
google_storage_default_object_access_control.media_storage_access: Refreshing state... [id=vc-media/allUsers]
google_secret_manager_secret.dlr_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/dlr_db_connection_string]
google_service_account.dlr_staging_backend_sa: Refreshing state... [id=projects/venture-capitol/serviceAccounts/[email protected]]
google_sql_database_instance.vc_db: Refreshing state... [id=vc-backend-database]
google_secret_manager_secret.staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/staging_db_connection_string]
google_service_account.backend_sa: Refreshing state... [id=projects/venture-capitol/serviceAccounts/[email protected]]
google_secret_manager_secret.dlr_staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/dlr_staging_db_connection_string]
google_secret_manager_secret.db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/db_connection_string]
google_service_account.dlr_backend_sa: Refreshing state... [id=projects/venture-capitol/serviceAccounts/[email protected]]
google_sql_database.dlr_backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/dlr_backend]
google_sql_user.staging_database_user: Refreshing state... [id=staging_backend_user//vc-backend-database]
google_secret_manager_secret_version.dlr_db_connection_string_data: Refreshing state... [id=projects/122736358705/secrets/dlr_db_connection_string/versions/1]
google_secret_manager_secret_version.staging_db_connection_string: Refreshing state... [id=projects/122736358705/secrets/staging_db_connection_string/versions/3]
google_sql_user.dlr_database_user: Refreshing state... [id=dlr_backend_user//vc-backend-database]
google_sql_user.dlr_staging_database_user: Refreshing state... [id=dlr_staging_backend_user//vc-backend-database]
google_sql_database.backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/backend]
google_sql_database.dlr_staging_backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/dlr_staging_backend]
google_sql_user.database_user: Refreshing state... [id=backend_user//vc-backend-database]
google_sql_database.staging_backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/staging_backend]
google_secret_manager_secret_version.db_connection_string_data: Refreshing state... [id=projects/122736358705/secrets/db_connection_string/versions/1]
google_secret_manager_secret_version.dlr_staging_db_connection_string: Refreshing state... [id=projects/122736358705/secrets/dlr_staging_db_connection_string/versions/2]
google_cloud_run_service.dlr_backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/dlr-backend]
google_cloud_run_service.staging_backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/vc-backend-staging]
google_secret_manager_secret_iam_binding.db_connection_string_access: Refreshing state... [id=projects/venture-capitol/secrets/db_connection_string/roles/secretmanager.secretAccessor]
google_secret_manager_secret_iam_binding.staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/staging_db_connection_string/roles/secretmanager.secretAccessor]
google_secret_manager_secret_iam_binding.dlr_db_connection_string_access: Refreshing state... [id=projects/venture-capitol/secrets/dlr_db_connection_string/roles/secretmanager.secretAccessor]
google_secret_manager_secret_iam_binding.dlr_staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/dlr_staging_db_connection_string/roles/secretmanager.secretAccessor]
google_project_iam_binding.service_permissions["cloudsql.client"]: Refreshing state... [id=venture-capitol/roles/cloudsql.client]
google_project_iam_binding.service_permissions["run.admin"]: Refreshing state... [id=venture-capitol/roles/run.admin]
google_cloud_run_service.backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/vc-backend]
google_cloud_run_service.dlr_staging_backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/dlr-backend-staging]
google_cloud_run_service_iam_policy.dlr_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/dlr-backend]
google_cloud_run_service_iam_policy.gpf_staging_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/vc-backend-staging]
google_cloud_run_service_iam_policy.gpf_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/vc-backend]
google_cloud_run_service_iam_policy.dlr_staging_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/dlr-backend-staging]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # google_cloud_run_service.backend will be updated in-place
  ~ resource "google_cloud_run_service" "backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/vc-backend"
        name                       = "vc-backend"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/backend:89bca0" -> "europe-west1-docker.pkg.dev/venture-capitol/images/backend:f560f5"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

  # google_cloud_run_service.dlr_backend will be updated in-place
  ~ resource "google_cloud_run_service" "dlr_backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/dlr-backend"
        name                       = "dlr-backend"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/dlr:89bca0" -> "us-docker.pkg.dev/cloudrun/container/hello"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

  # google_cloud_run_service.dlr_staging_backend will be updated in-place
  ~ resource "google_cloud_run_service" "dlr_staging_backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/dlr-backend-staging"
        name                       = "dlr-backend-staging"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/dlr:89bca0" -> "us-docker.pkg.dev/cloudrun/container/hello"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

  # google_cloud_run_service.staging_backend will be updated in-place
  ~ resource "google_cloud_run_service" "staging_backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/vc-backend-staging"
        name                       = "vc-backend-staging"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/backend:89bca0" -> "europe-west1-docker.pkg.dev/venture-capitol/images/backend:f560f5"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

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

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.
Releasing state lock. This may take a few moments...

@github-actions
Copy link

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Terraform Plan 📖success

Show Plan

terraform
random_password.dlr_database_password: Refreshing state... [id=none]
random_password.staging_db_password: Refreshing state... [id=none]
random_password.dlr_staging_db_password: Refreshing state... [id=none]
random_password.database_password: Refreshing state... [id=none]
google_project_service.secretmanager: Refreshing state... [id=venture-capitol/secretmanager.googleapis.com]
google_project_service.run: Refreshing state... [id=venture-capitol/run.googleapis.com]
google_project_service.maps: Refreshing state... [id=venture-capitol/maps-backend.googleapis.com]
google_storage_bucket.media_storage: Refreshing state... [id=vc-media]
google_project_service.iam: Refreshing state... [id=venture-capitol/iam.googleapis.com]
google_project_service.places: Refreshing state... [id=venture-capitol/places-backend.googleapis.com]
google_project_service.sql: Refreshing state... [id=venture-capitol/sqladmin.googleapis.com]
google_storage_bucket.frontend_staging: Refreshing state... [id=vc-frontend-staging]
google_storage_default_object_access_control.public_access: Refreshing state... [id=vc-frontend-staging/allUsers]
google_storage_default_object_access_control.media_storage_access: Refreshing state... [id=vc-media/allUsers]
google_secret_manager_secret.staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/staging_db_connection_string]
google_sql_database_instance.vc_db: Refreshing state... [id=vc-backend-database]
google_service_account.dlr_staging_backend_sa: Refreshing state... [id=projects/venture-capitol/serviceAccounts/[email protected]]
google_secret_manager_secret.dlr_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/dlr_db_connection_string]
google_secret_manager_secret.dlr_staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/dlr_staging_db_connection_string]
google_service_account.dlr_backend_sa: Refreshing state... [id=projects/venture-capitol/serviceAccounts/[email protected]]
google_secret_manager_secret.db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/db_connection_string]
google_service_account.backend_sa: Refreshing state... [id=projects/venture-capitol/serviceAccounts/[email protected]]
google_secret_manager_secret_iam_binding.dlr_db_connection_string_access: Refreshing state... [id=projects/venture-capitol/secrets/dlr_db_connection_string/roles/secretmanager.secretAccessor]
google_secret_manager_secret_iam_binding.db_connection_string_access: Refreshing state... [id=projects/venture-capitol/secrets/db_connection_string/roles/secretmanager.secretAccessor]
google_project_iam_binding.service_permissions["run.admin"]: Refreshing state... [id=venture-capitol/roles/run.admin]
google_project_iam_binding.service_permissions["cloudsql.client"]: Refreshing state... [id=venture-capitol/roles/cloudsql.client]
google_secret_manager_secret_iam_binding.staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/staging_db_connection_string/roles/secretmanager.secretAccessor]
google_secret_manager_secret_iam_binding.dlr_staging_db_connection_string: Refreshing state... [id=projects/venture-capitol/secrets/dlr_staging_db_connection_string/roles/secretmanager.secretAccessor]
google_secret_manager_secret_version.db_connection_string_data: Refreshing state... [id=projects/122736358705/secrets/db_connection_string/versions/1]
google_sql_database.dlr_backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/dlr_backend]
google_secret_manager_secret_version.dlr_db_connection_string_data: Refreshing state... [id=projects/122736358705/secrets/dlr_db_connection_string/versions/1]
google_secret_manager_secret_version.staging_db_connection_string: Refreshing state... [id=projects/122736358705/secrets/staging_db_connection_string/versions/3]
google_sql_user.dlr_database_user: Refreshing state... [id=dlr_backend_user//vc-backend-database]
google_secret_manager_secret_version.dlr_staging_db_connection_string: Refreshing state... [id=projects/122736358705/secrets/dlr_staging_db_connection_string/versions/2]
google_sql_user.dlr_staging_database_user: Refreshing state... [id=dlr_staging_backend_user//vc-backend-database]
google_sql_database.dlr_staging_backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/dlr_staging_backend]
google_sql_user.staging_database_user: Refreshing state... [id=staging_backend_user//vc-backend-database]
google_sql_database.backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/backend]
google_sql_database.staging_backend_database: Refreshing state... [id=projects/venture-capitol/instances/vc-backend-database/databases/staging_backend]
google_sql_user.database_user: Refreshing state... [id=backend_user//vc-backend-database]
google_cloud_run_service.backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/vc-backend]
google_cloud_run_service.dlr_backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/dlr-backend]
google_cloud_run_service.staging_backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/vc-backend-staging]
google_cloud_run_service.dlr_staging_backend: Refreshing state... [id=locations/europe-west1/namespaces/venture-capitol/services/dlr-backend-staging]
google_cloud_run_service_iam_policy.dlr_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/dlr-backend]
google_cloud_run_service_iam_policy.gpf_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/vc-backend]
google_cloud_run_service_iam_policy.gpf_staging_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/vc-backend-staging]
google_cloud_run_service_iam_policy.dlr_staging_noauth: Refreshing state... [id=v1/projects/venture-capitol/locations/europe-west1/services/dlr-backend-staging]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # google_cloud_run_service.backend will be updated in-place
  ~ resource "google_cloud_run_service" "backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/vc-backend"
        name                       = "vc-backend"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/backend:89bca0" -> "europe-west1-docker.pkg.dev/venture-capitol/images/backend:ce3ec1"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

  # google_cloud_run_service.dlr_backend will be updated in-place
  ~ resource "google_cloud_run_service" "dlr_backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/dlr-backend"
        name                       = "dlr-backend"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/dlr:89bca0" -> "us-docker.pkg.dev/cloudrun/container/hello"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

  # google_cloud_run_service.dlr_staging_backend will be updated in-place
  ~ resource "google_cloud_run_service" "dlr_staging_backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/dlr-backend-staging"
        name                       = "dlr-backend-staging"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/dlr:89bca0" -> "us-docker.pkg.dev/cloudrun/container/hello"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

  # google_cloud_run_service.staging_backend will be updated in-place
  ~ resource "google_cloud_run_service" "staging_backend" {
        id                         = "locations/europe-west1/namespaces/venture-capitol/services/vc-backend-staging"
        name                       = "vc-backend-staging"
        # (4 unchanged attributes hidden)


      ~ template {

          ~ spec {
                # (3 unchanged attributes hidden)

              ~ containers {
                  ~ image   = "europe-west1-docker.pkg.dev/venture-capitol/images/backend:89bca0" -> "europe-west1-docker.pkg.dev/venture-capitol/images/backend:ce3ec1"
                    # (2 unchanged attributes hidden)



                    # (3 unchanged blocks hidden)
                }
            }
            # (1 unchanged block hidden)
        }

        # (2 unchanged blocks hidden)
    }

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

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

@malte-j malte-j self-requested a review March 13, 2022 12:07
Copy link
Member

@malte-j malte-j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sieht super aus, danke dass du den loading indicator noch in eine Komponente gezogen hast!

@eloluap
Copy link
Contributor Author

eloluap commented Mar 14, 2022

Ich muss die Sachen noch beim create/update/delete im DLR Profil einbauen im Button. Noch nicht zu gekommen. Würde ich auch noch in dieser PR machen sofern ich zu komme. ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants