cloudtools / cloudtools/troposphere
Is there a better approach to Sub with Parameters?
Open
- Dominant language
- Python
- Stars
- 4.9k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Could you please suggest a better approach without so much curly braces to `Sub` with `Parameter` than provided below?
```
param_a = troposphere.Parameter("ParamA", Type='String')
s = 'foo ${{{0}}} ${{{1}}}'.format("AWS::Region", param_a.title)
print(troposphere.Sub(s).to_dict())
```
Contributor guide
Assessment
This issue has not been assessed yet.