对 Cloud Storage 的 Terraform 支持
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Terraform 是一种基础架构即代码 (IaC) 工具,可用于为 Cloud Storage 预配资源和权限。
Terraform 已与 Cloud Shell 集成,并且 Cloud Shell 会自动对 Terraform 进行身份验证。
将 Terraform 与 Cloud Storage 搭配使用时,您需要创建一个描述所需基础架构的 Terraform 配置文件。当您应用配置时,Terraform 会创建执行计划并执行预配基础架构所需的操作。例如,您可以使用 Terraform 创建存储桶、上传对象并控制这些对象的生命周期。
适用于 Cloud Storage 的 Terraform 资源
下表列出了当前可用于 Cloud Storage 的 Terraform 资源,以及指向 Cloud Storage 文档中 Terraform 配置示例的链接:
后续步骤
完成面向 Cloud Storage 的 Terraform 快速入门,快速了解如何预配 Cloud Storage 资源。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-03-09。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]