chore(pulumi): improve output management notes

This commit is contained in:
Michele Cereda
2024-09-28 18:46:58 +02:00
parent f6f2876e48
commit 86bb0c9f3e
3 changed files with 44 additions and 21 deletions

View File

@@ -35,6 +35,19 @@ export const userData = new cloudinit.Config(
filename: "cloud-config.security-updates.yml",
mergeType: "dict(recurse_array,no_replace)+list(append)",
},
{
contentType: "text/cloud-config",
content: yaml.stringify({
package_upgrade: false,
packages: [ "postgresql" ],
runcmd: [
"systemctl daemon-reload",
"systemctl enable --now 'postgres'",
]
}),
filename: "cloud-config.postgres.yml",
mergeType: "dict(allow_delete,no_replace)+list(append)",
},
],
},
);