You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
was trying to start an AWS runner with a pool.yaml file but I have this error:
drone_aws.1.v3aytmcmyklk@docker02 | time="2023-09-29T15:15:03Z" level=info msg="Loading pool file '/config/pool.yaml'"
drone_aws.1.v3aytmcmyklk@docker02 | time="2023-09-29T15:15:03Z" level=error msg="exec: unable to parse pool file" error="json: cannot unmarshal array into Go struct field PoolFile.instances of type map[string]string" path=/config/pool.yaml
drone_aws.1.v3aytmcmyklk@docker02 | time="2023-09-29T15:15:03Z" level=fatal msg="daemon: unable to load pool file, or use an in memory pool file" error="json: cannot unmarshal array into Go struct field PoolFile.instances of type map[string]string"
The pool.yaml file is:
version: "1"
instances:
- name: gpu
default: true
type: amazon
pool: 0 # total number of warm instances in the pool at all times
limit: 1 # limit the total number of running servers. If exceeded block or error.
platform:
os: linux
arch: amd64
spec:
account:
region: eu-west-1
access_key_id: xxx
access_key_secret: xxx
ami: ami-0f9aaa549abd8f082
size: g4dn.2xlarge
tags:
- Training
The text was updated successfully, but these errors were encountered:
Hi, found the issue. Error is misleading, it is not the instances array but tags inside spec which should be a map[string]string. Documentation states tags []string and should be updated.
Hi,
was trying to start an AWS runner with a pool.yaml file but I have this error:
The pool.yaml file is:
The text was updated successfully, but these errors were encountered: