【发布时间】:2022-12-27 18:03:43
【问题描述】:
I am currently creating a launch template using terraform aws_launch_template resource. I need to pass in user data and i do so using
user_data =filebase64("file_path/file_name.sh"). I need to have variables inside my userdata file (file_name.sh). What is the best way to accomplish this ?
【问题讨论】:
-
What is your current attempt at
file_name.sh? Why it does not work? What errors do you get?
标签: amazon-web-services terraform terraform-provider-aws launch-template