Fixing main syntax and deploy logo.

This commit is contained in:
Emiliano Vavassori 2024-09-08 00:23:01 +02:00
parent 5346296e5f
commit 7f993ce140
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,5 @@
[![Deploy with Pulumi](https://get.pulumi.com/new/button.svg)](https://app.pulumi.com/new?template=https://git.sys42.eu/syntaxerrormmm/pulumi-templates/src/branch/main/linode-ansible)
# Quick configuration #
Check out the file `input.yml` for a quick setup for a new machine.

View File

@ -8,8 +8,7 @@ import yaml
from dotmap import DotMap
config = DotMap(yaml.safe_load(open("input.yaml").read()))
vmname = pulumi.Config("name")
vmname = pulumi.Config().require("name")
# Create a Linode resource (Linode Instance)
instance = pulumi_linode.Instance(vmname,