云资源调配工具
awsscripter的Python项目详细描述
关于
awsscripter是一个在aws cli(boto)之上编写自动化的工具,它自动化了一些更普通、重复和容易出错的任务,更有效地简化了aws资源管理。
特点: -使用不同的合规计划审计AWS账户,如CISP、PCI-DSS、HIPA -从模板和配置中获取输入,并通过组合aws boto api执行用户友好的自动化 -支持通过可自定义解析器在模板中插入动态值 -支持在堆栈生成之前/之后将任意代码作为钩子运行 -支持json、yaml、jinja2或python dsl编写的模板,如对流层 -易于集成到xformnation平台 -快速、高度并行的构建 -内置支持使用alm(应用程序生命周期管理工具和操作支持系统 -具有元操作(如堆栈查询保护)的基础结构可见性
示例
>;awsscripter审计CISP
>;awsscripter审计pcids
用法:awsscripter[options]command[args]… awsscripter是一个管理云本地基础设施部署的工具。
- 选项:
--version Show the version and exit. --debug Turn on debug logging. --dir TEXT Specify awsscripter directory. --output The formatting style for command output. --no-colour Turn off output colouring. --var TEXT A variable to template into config files. --var-file FILENAME A YAML file of variables to template into config files. --help Show this message and exit. - 命令:
- 用于审核aws环境的审核命令… 初始化awsscripter的init命令… 列表数据包安全检查:返回: 监视用于审核AWS环境的命令… 安全数据包安全检查:返回: 用于审核AWS环境的堆栈命令… testcommand示例testcommand
- 子命令:
>;awsscripter堆栈
用法:awsscripter stack[options]command[args]…
选项:
--help Show this message and exit.
- Commands:
- create Creates a stack or a change set. delete Deletes a stack or a change set. describe Commands for describing attributes of stacks. execute Executes a change set. generate Prints the template. launch Launch a stack or environment. list Commands for listing attributes of stacks. set-policy Sets stack policy. status Print status of stack or environment. update Update a stack. validate Validat1. - - - - es the template.
>;awsscripter初始化
Usage: awsscripter init [OPTIONS] COMMAND [ARGS]…
Commands for initialising awsscripter projects.
- 选项:
--help Show this message and exit. - 命令:
- env初始化项目中的环境。 Project初始化一个新项目。
安装
$ pip install awsscripter
教程和文档
贡献
看我们的Contributing Guide。