最近我发现了terraspace框架,它很棒。我遵循了本教程,但现在我关心如何使用公共模块,例如,我想使用以下模块创建一个gcp计算:https://registry.terraform.io/modules/terraform-google-modules/vm/google/4.0.0
发布于 2020-10-21 00:26:39
Terraspace使用Terraform HCL,因此您可以使用module source关键字来包含第三方模块,public或private。@T.H.链接使用module source关键字提供了一个很好的介绍。
此外,Terraspace还提供了一个Terrafile概念,它可以集中化和自动化外部模块的管理。你可以使用任何你想要的模块,私有的或者公共的。简介博文:Terraspace Terrafile: Using Git and Terraform Registry Modules
它还提供了几个示例,展示了如何在Terraspace中使用模块,包括terraspace-google-vm
https://stackoverflow.com/questions/64065103
复制相似问题