-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cdk.Include: support passing in parameters to included template #1454
Comments
I too have a similar issue specially when attempting a blue green deployment. |
I found a simple workaround: from cfn_tools import load_yaml # or load_json
template = load_yaml(open('templates/your-template.yaml').read()) From there, you can manipulate the template as you please, e.g set the default value to the desired value: template['Parameters']['YourParam']['Default'] = 'YourValue' It leverages AWS's cfn-flip library: |
We need this feature. The problem inherent with Default is that in Cloud Formation the value of the Default field cannot reference the output of another template. |
This is now possible with the new cfn-include module. Resolving, please let us know if there's anything else we can do for this issue. |
Users expect to be able to pass in parameters to the included template
The text was updated successfully, but these errors were encountered: