【问题标题】:add a variable to the resolver output with sceptre使用 scepter 将变量添加到解析器输出
【发布时间】:2018-08-13 20:39:24
【问题描述】:

我有一个场景在 scepter 中描述一个堆栈,我必须将一个已知的端口号附加到我可以从解析器获得的主机名/IP 上,如下所示:

LdapServerURL: !stack_output_external some-stack::Host

我希望解释“LdapServerURL”或具有这样的值:- 主持人:389 其中 389 是已知端口。

【问题讨论】:

    标签: amazon-cloudformation sceptre


    【解决方案1】:

    很遗憾,目前不支持该功能。 您能否将端口添加到输出中,因为 URL 可以包含端口。

    我没有写过一些东西来解决这个问题:https://github.com/cloudreach/sceptre_combine_resolvers,它是为 scepter v2 设计的,但是如果你将 sceptre_combine_resolvers.py 复制到你的 repo 中的 resolvers 它应该可以工作

    【讨论】:

      猜你喜欢
      • 2012-04-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-10-07
      • 2015-08-25
      • 1970-01-01
      • 2014-02-18
      相关资源
      最近更新 更多