【发布时间】:2022-08-17 20:45:47
【问题描述】:
我正在尝试使用 Terraform 在 Google Cloud Run 中部署应用程序,并且我想在 Cloud Run 服务中引用一些秘密。但是我收到此错误:
Error: Unsupported block type
│
│ on main.tf line 122, in resource \"google_cloud_run_service\" \"default\":
│ 122: value_from {
│
│ Blocks of type \"value_from\" are not expected here.
但是在documentation 中,它表明我可以使用value_from 来引用一个秘密。有谁知道是什么问题?
笔记:我的hashicorp/google 提供程序版本是3.90.1
标签: terraform google-cloud-run terraform-provider-gcp google-secret-manager