使用Google Cloud Platform时如何锁定状态文件?

祖雷卡罗

使用Terraform时,用于锁定状态文件的Google Cloud Platform机制是什么?就像DynamoDB在AWS上一样

谢谢

J

状态文件的存储位置(使用backend定义)与部署的位置不同。它们可以相同,但不必相同。例如,您可以在将状态文件存储在AWS S3存储桶中的同时将资源部署到Azure。

如果您有兴趣将状态文件存储在Google Cloud中,则Terraform的后端称为gcs,其中包括锁定。引用文档:

gcs将状态作为对象存储在Google Cloud Storage(GCS)上的可配置前缀和存储桶中。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

如何从Google Cloud Platform存储下载文件

如何使用Go SDK for Google Cloud Platform获取项目ID?

Google Cloud Platform:如何重命名Google Cloud Platform项目?

使用Java挂起Google Cloud Platform实例

如何使用Google Cloud Dataflow将压缩文件写入Google Cloud Storage?

如何使用python从google-cloud-platform下载数据?

如何使用Google Cloud Dataflow登台其他文件?

Google Cloud Platform Storage错误:尝试访问我的存储项目时出现“锁定域已过期”

如何在来源树上使用Google Cloud?

如何使用Deployment Manager将文件写入Google Cloud Storage?

Google Cloud Platform文件位置

缺少链接时如何访问Google Apps脚本的Cloud Platform

使用Google Cloud Dataflow读取多个Parquet文件时如何分辨记录来自哪个文件

如何使用Typescript定义Google Cloud Function?

如何使用Google Cloud KMS创建CSR?

如何使用curl从Google Cloud Storage下载文件

Google Cloud Run,如何使用配置映射

使用Google Cloud Dataflow生成xml文件

如何使用Google Cloud Datastore统计信息

使用Google Cloud Dataflow合并Google Cloud Storage中的文件

Google Cloud Messaging VS Google Cloud Platform

如何使用Google Cloud Endpoints返回文件?

如何使用 Google Cloud 进行计算?

Google Cloud:如何在 Cloud Datalab 中使用 Cloud ML

Google Cloud Platform AI Notebook - 如何确保使用 GPU?

如何使用带有 Python 的 Google Cloud Functions 将列表写入 Google Cloud Storage 中的文件

使用 Python 的 Google Cloud Platform SDK

使用 Google Cloud Platform Buckets 的凭据无效

如何使用 Google Cloud 的 Cloud KMS 存儲私鑰?