You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/sh
[misc other stuff]
cat <<EOF > "..../userdata-script.sh"
#!/bin/sh
[misc other stuff]
`cat "../file.tar.bz2"`
TF will refuse to create the launch configuration.
However, if i uuencode it, it will work:
./bin/package_files_for_LC.sh:
#!/bin/sh
[misc other stuff]
cat <<EOF > "..../userdata-script.sh"
#!/bin/sh
[misc other stuff]
`cat "../file.tar.bz2" | uuencode -`
However, the resulting file gets quite big. So far the tarball is quite small (just a bunch of other setup shell scripts that I'll need in the provisioning of the instance), so I don't know if there's a size limit on the user_data part.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 19, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a script, called from a
aws_launch_configuration
in aprovisioner "local-exec"
that creates a setup script with a embedded BZ2 tarball.This resulting script is then used in a
user_data
:If I include the tarball in binary form
./bin/package_files_for_LC.sh:
TF will refuse to create the launch configuration.
However, if i uuencode it, it will work:
./bin/package_files_for_LC.sh:
However, the resulting file gets quite big. So far the tarball is quite small (just a bunch of other setup shell scripts that I'll need in the provisioning of the instance), so I don't know if there's a size limit on the
user_data
part.The text was updated successfully, but these errors were encountered: