首页 开发技术 其它     /    terraform-provider-shell:Terraform提供程序,用于执行Shell命令并将输出保存到状态文件-源码

terraform-provider-shell:Terraform提供程序,用于执行Shell命令并将输出保存到状态文件-源码

上传者: weixin_42108778 | 上传时间:2023/6/30 23:45:05 | 文件大小:51KB | 文件类型:ZIP
terraform-provider-shell:Terraform提供程序,用于执行Shell命令并将输出保存到状态文件-源码
Terraform提供商外壳该插件用于包装外壳脚本,以使其成为成熟的地形资源。
请注意,这是Terraform运行时的后门。
您可以用它来做一些非常危险的事情,并且要确保自己不会遇到麻烦。
由于此提供程序与大多数其他提供程序完全不同,因此建议您至少在尝试使用此提供程序之前对Terraform的内部知识有所了解。
注意:许多人使用此提供程序来包装现有提供程序不支持的资源的API。
有关使用此提供程序管理Github回购资源的examples/github-repo,请参见examples/github-repo要求>=0.12.x>=1.12建立提供者克隆存储库输入存储库目录使用Goinstall命令构建提供程序:$goinstall添加依赖项该提供程序使用。
请参阅Go文档以获取有关使用Go模块的最新信息。
要将新的依赖项github.com/author/dependency添加到Terraform提供程序:gogetgithub.com/author/dependencygomodtidy然后将更改提交到go.mod 本软件ID:15004658

文件下载

资源详情

[{"title":"(40个子文件51KB)terraform-provider-shell:Terraform提供程序,用于执行Shell命令并将输出保存到状态文件-源码","children":[{"title":"terraform-provider-shell-master","children":[{"title":".goreleaser.yml <span style='color:#111;'>1.47KB</span>","children":null,"spread":false},{"title":"GNUmakefile <span style='color:#111;'>118B</span>","children":null,"spread":false},{"title":"shell","children":[{"title":"resource_shell_script_test.go <span style='color:#111;'>14.17KB</span>","children":null,"spread":false},{"title":"provider_test.go <span style='color:#111;'>1.91KB</span>","children":null,"spread":false},{"title":"resource_shell_script.go <span style='color:#111;'>13.48KB</span>","children":null,"spread":false},{"title":"utility.go <span style='color:#111;'>4.97KB</span>","children":null,"spread":false},{"title":"data_source_shell_script_test.go <span style='color:#111;'>2.50KB</span>","children":null,"spread":false},{"title":"provider.go <span style='color:#111;'>1.95KB</span>","children":null,"spread":false},{"title":"logging.go <span style='color:#111;'>1.25KB</span>","children":null,"spread":false},{"title":"config.go <span style='color:#111;'>551B</span>","children":null,"spread":false},{"title":"data_source_shell_script.go <span style='color:#111;'>2.57KB</span>","children":null,"spread":false},{"title":"test-fixtures","children":[{"title":"scripts","children":[{"title":"delete.sh <span style='color:#111;'>142B</span>","children":null,"spread":false},{"title":"create.sh <span style='color:#111;'>396B</span>","children":null,"spread":false},{"title":"update.sh <span style='color:#111;'>321B</span>","children":null,"spread":false},{"title":"read.sh <span style='color:#111;'>137B</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":".github","children":[{"title":"workflows","children":[{"title":"release.yml <span style='color:#111;'>1.44KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"website","children":[{"title":"docs","children":[{"title":"index.html.markdown <span style='color:#111;'>1.36KB</span>","children":null,"spread":false},{"title":"d","children":[{"title":"shell_script.html.markdown <span style='color:#111;'>1.38KB</span>","children":null,"spread":false}],"spread":true},{"title":"r","children":[{"title":"shell_script_resource.html.markdown <span style='color:#111;'>2.71KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"shell.erb <span style='color:#111;'>1.21KB</span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'>16.33KB</span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'>218B</span>","children":null,"spread":false},{"title":"examples","children":[{"title":"test","children":[{"title":"test.tf <span style='color:#111;'>2.71KB</span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"delete.sh <span style='color:#111;'>138B</span>","children":null,"spread":false},{"title":"create.sh <span style='color:#111;'>384B</span>","children":null,"spread":false},{"title":"update.sh <span style='color:#111;'>314B</span>","children":null,"spread":false},{"title":"read.sh <span style='color:#111;'>192B</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"github-repo","children":[{"title":"scripts","children":[{"title":"delete.sh <span style='color:#111;'>294B</span>","children":null,"spread":false},{"title":"create.sh <span style='color:#111;'>773B</span>","children":null,"spread":false},{"title":"update.sh <span style='color:#111;'>812B</span>","children":null,"spread":false},{"title":"read.sh <span style='color:#111;'>289B</span>","children":null,"spread":false}],"spread":true},{"title":"main.tf <span style='color:#111;'>507B</span>","children":null,"spread":false}],"spread":true},{"title":"weather","children":[{"title":"main.tf <span style='color:#111;'>904B</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'>469B</span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'>60B</span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'>32.84KB</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>2.71KB</span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"errcheck.sh <span style='color:#111;'>691B</span>","children":null,"spread":false},{"title":"gofmtcheck.sh <span style='color:#111;'>366B</span>","children":null,"spread":false}],"spread":true},{"title":"go.mod <span style='color:#111;'>921B</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明