Fixing main syntax and deploy logo.
This commit is contained in:
parent
5346296e5f
commit
7f993ce140
@ -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 #
|
# Quick configuration #
|
||||||
|
|
||||||
Check out the file `input.yml` for a quick setup for a new machine.
|
Check out the file `input.yml` for a quick setup for a new machine.
|
||||||
|
@ -8,8 +8,7 @@ import yaml
|
|||||||
from dotmap import DotMap
|
from dotmap import DotMap
|
||||||
|
|
||||||
config = DotMap(yaml.safe_load(open("input.yaml").read()))
|
config = DotMap(yaml.safe_load(open("input.yaml").read()))
|
||||||
|
vmname = pulumi.Config().require("name")
|
||||||
vmname = pulumi.Config("name")
|
|
||||||
|
|
||||||
# Create a Linode resource (Linode Instance)
|
# Create a Linode resource (Linode Instance)
|
||||||
instance = pulumi_linode.Instance(vmname,
|
instance = pulumi_linode.Instance(vmname,
|
||||||
|
Loading…
Reference in New Issue
Block a user