GoogleCloudPlatform / terraform-google-cloud-run

Deploys apps to Cloud Run, along with option to map custom domain
https://registry.terraform.io/modules/GoogleCloudPlatform/cloud-run/google
Apache License 2.0
140 stars 93 forks source link

Correct the logic to accept the secrets as environment variable. #135

Closed gouravbansal11 closed 1 year ago

gouravbansal11 commented 1 year ago

Currently when we try to create the secret as env variable its giving below error.

│ Error: Unsupported block type │ │ on .terraform\modules\job\modules\job-exec\main.tf line 41, in resource "google_cloud_run_v2_job" "job": │ 41: dynamic "value_from" { │ │ Blocks of type "value_from" are not expected here. ╵ Detail Issue Link

Modified the script to resolve this error.

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.