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
│ Error: creating EC2 Launch Template (lt-0d19cc63e67d12cbf) Version: InvalidUserData.Malformed: User data is limited to 16384 bytes.
│ status code: 400, request id: d433057d-2bfb-4ce5-a121-26ad9048dbd2
│
│ with module.runners.module.runners.aws_launch_template.runner,
│ on .terraform/modules/runners/modules/runners/main.tf line 64, in resource "aws_launch_template" "runner":
│ 64: resource "aws_launch_template" "runner" {
│
╵
I used to be able to run ~6.8kb of custom init scripts, but now I get the above error after updating from 5.3.0 to 5.6.0
-rw-r--r-- 1 andregaudencio staff 3.1K Feb 11 2023 post-install.sh
-rw-r--r-- 1 andregaudencio staff 3.7K Jan 2 11:50 user-data.sh
whilst the final base64 encoded string appears to be ~44kb,
-rw-r--r-- 1 andregaudencio staff 44K Jan 2 11:47 base64-string
Activity
razor54 commentedon Jan 2, 2024
Also tested on
5.4.2and got the same result. Reverted to5.3.0npalm commentedon Jan 12, 2024
Please can anyone try the fix in PR #3717
razor54 commentedon Jan 15, 2024
That worked for me :)
fix(runners): zip base64 encoded user data to avoid size limits (#3717)
chore(main): release 5.6.3 (#3726)
chore(docs): bump urllib3 from 2.5.0 to 2.6.0 in /.github/workflows/m…
chore(docs): bump urllib3 from 2.5.0 to 2.6.0 in /.github/workflows/m…