-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[PR #2048/5281e89f backport][stable-7] Deprecate template parameter for cloudformation This is a backport of PR #2048 as merged into main (5281e89). SUMMARY The cloudformation module currently directly uses open() to access files passed using the template parameter. This can be better handled by using template_body and getting folks to use {{ lookup() }}. The current open based implementation doesn't look in the places that folks might expect to find their files, and doesn't handle templating. In the event folks aren't delegating everything to localhost, this can also result in files simply not being available. ISSUE TYPE Feature Pull Request COMPONENT NAME cloudformation ADDITIONAL INFORMATION Reviewed-by: Mark Chappell
- Loading branch information
1 parent
aca6243
commit b54502d
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
deprecated_features: | ||
- cloudformation - the ``template`` parameter has been deprecated and will be removed in a release after 2026-05-01. The ``template_body`` parameter can be used in conjungtion with the lookup plugin (https://github.com/ansible-collections/amazon.aws/pull/2048). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters