My usecase is setting up a custom launch template adjusting for example disk size and disk encryption. Also I'm adjusting other values, but I don't want to adjust userData.
So I wanted to use createUserData from userdata.ts, but this seems to be not exported and thus not available. Please export it, as it contains complex logic regarding AL2023 or AL2 I did not want to implement mysef.