Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add helpers.userdata.from_file_sub() #1898

Merged
merged 4 commits into from
Jun 13, 2021
Merged

Add helpers.userdata.from_file_sub() #1898

merged 4 commits into from
Jun 13, 2021

Conversation

noamtamim
Copy link
Contributor

Imports userdata from a file, using Sub for replacing inline variables such as ${AWS::Region}.

Useful with a userdata script that looks like this:

#!/bin/bash -ex

echo Region: ${AWS::Region}
...

Unlike from_file(), doesn't do any text processing.

noamtamim added 4 commits May 6, 2021 11:26
Imports userdata from a file, using `Sub` for replacing inline variables such as `${AWS::Region}`
@markpeek markpeek merged commit 9149385 into cloudtools:master Jun 13, 2021
@markpeek
Copy link
Member

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants