ssm appconfig存储帮助程序
ssmash的Python项目详细描述
ssmash
ssmash,ssm appconfig存储帮助程序, 是一个易于使用的aws应用程序配置管理工具 部署。在简单的yaml中指定层次结构配置值 文件,ssmash会将其转换为aws cloudformation文件 将配置值存储在SSM参数存储中。
安装
使用pip安装ssmash,标准的python包安装程序:
$ pip install ssmash
示例
假设您有这样的输入文件:
acme:shipping-labels-service:block-coyotes:trueexplosive-purchase-limit:1000greeting:hello world
然后运行ssmash:
$ ssmash -i acme_prod_config.yaml -o cloud_formation_template.yaml $ aws cloudformation deploy \ --stack-name "acme-prod-config" --template-file cloud_formation_template.yaml \ --no-fail-on-empty-changeset
现在,您将在aws系统管理器中拥有以下参数,这些参数可以 作为字符串加载到应用程序中:
- /acme/shipping-labels-service/block-coyotes=“真”
- /acme/shipping-labels-service/explosive-purchase-limit=“1000”
- /acme/shipping-labels-service/greeting=“你好,世界”
更改日志
该项目的所有显著变化都将记录在本文件中。
格式基于Keep a Changelog, 这个项目遵循Semantic Versioning。
v2.0.1(2019-06-28)
已修复
- 无法运行脚本
v2.0.0(2019-06-28)
已添加
- #8:普通的支持列表 存储为SSM StringList参数的值
已删除
- 不能再将输入和输出文件指定为位置参数。 使用–输入文件名和–输出文件名。
- –invalidate ecs service和–invalidate role选项 替换为“使ECS失效”命令。
v1.1.0(2019-06-05)
已添加
v1.0.0(2019-05-30)
v1.0.0-rc1(2019-05-24)
已添加
- ssmash从存储在yaml中的简单配置文件创建字符串ssm参数的脚本
- 自述文件中的基本文档
V0.1.0(2019-05-14)
已添加
- pypi上的第一个版本。
- 仅限CookiCutter框架,无功能