Sistemazione di bug di configurazione. Correzione impostazione nome istanza.

This commit is contained in:
Emiliano Vavassori 2024-04-19 01:19:27 +02:00
parent 0d44a02141
commit 387375a253

View File

@ -5,11 +5,10 @@ import pulumi_linode
import yaml import yaml
from dotmap import DotMap from dotmap import DotMap
conf = DotMap(yaml.safe_load(open("input.yaml").read())) config = DotMap(yaml.safe_load(open("input.yaml").read()))
config = pulumi.Config()
# Create a Linode resource (Linode Instance) # Create a Linode resource (Linode Instance)
instance = pulumi_linode.Instance('my-instance', instance = pulumi_linode.Instance(config.vm.name,
type=config.linode.type, type=config.linode.type,
region=config.linode.region, region=config.linode.region,
image=config.linode.image, image=config.linode.image,