sparse-intern-71089
03/15/2023, 6:11 PMbillowy-army-68599
acceptable-plumber-31485
03/15/2023, 6:51 PMacceptable-plumber-31485
03/15/2023, 6:52 PMacceptable-plumber-31485
03/15/2023, 6:53 PMacceptable-plumber-31485
03/15/2023, 6:58 PMdata cloudinit_config
where it references an external yml file. The yml file has an entry write_files:
and under it are the path, owner, permissions, encoding and content. I don't know if the yml file content is specific for terraform thoughacceptable-plumber-31485
03/15/2023, 7:09 PMimport cloudinit
?
cloudconfig = cloudinit.get_config(
base64_encode = False,
gzip = False,
parts = [
cloudinit.GetConfigPartArgs(
content = "#cloudconfig\npackages:\n- prometheus-node-exporter",
content_type = "text/cloud-config",
filename = "init.cfg"
)
]
)
acceptable-plumber-31485
03/15/2023, 7:09 PMpip3 install pulumi_cloudinit