terraform-python-testing-helper:用于Terraform的简单Python测试帮助器

时间:2021-02-04 06:31:12
【文件属性】:
文件名称:terraform-python-testing-helper:用于Terraform的简单Python测试帮助器
文件大小:44KB
文件格式:ZIP
更新时间:2021-02-04 06:31:12
python testing terraform TerraformPython 用于Terraform的Python测试助手 这个简单的帮助程序通过包装Terraform可执行文件并公开方便的方法来设置固定装置,执行Terraform命令并解析其输出,从而简化了通过Python单元测试测试Terraform模块的工作。 它允许进行不同类型的测试:仅使用Terraform init并plan确保语法在语法上正确并且应该创建正确数量和类型的资源的轻量级测试,或者运行完整apply / output / destroy周期的成熟测试,然后可以用来测试实际创建的资源或状态文件。 作为一个额外的便利,该模块还提供了一种简单的方法来请求和访问计划输出(通过terraform pl
【文件预览】:
terraform-python-testing-helper-master
----setup.py(1KB)
----.gitignore(2KB)
----CONTRIBUTING.md(1KB)
----LICENSE(11KB)
----DEV-REQUIREMENTS.txt(14B)
----tftest.py(14KB)
----CHANGELOG.md(3KB)
----README.md(3KB)
----.ci()
--------cloudbuild.lint.yaml(801B)
--------scripts()
--------cloudbuild.test.yaml(1KB)
----test()
--------conftest.py(733B)
--------test_files.py(1KB)
--------__init__.py(575B)
--------test_plan.py(2KB)
--------test_no_outputs.py(1KB)
--------test_state.py(1KB)
--------test_sample_apply.py(978B)
--------test_sample_plan.py(1KB)
--------test_value_dict.py(1005B)
--------test_backend_config.py(989B)
--------test_args.py(2KB)
--------test_sample_plan_no_variables.py(925B)
--------fixtures()

网友评论