Skip to content

Autark init generates YAML config that autark deploy can’t read #5

@estmcmxci

Description

@estmcmxci

Hi,

I ran into a config-loading bug while using the Autark CLI (v0.1.0 via npm install -g autark on macOS 14.6). Running autark init creates secure-deploy.config.yaml, but the deploy command never reads it. From the logs it keeps complaining:

[-] Deployment failed
[-] Missing required configuration: ownerPrivateKey

even though ownerPrivateKey (and the rest of the fields) are present in the YAML. Looking at the published code, loadConfig only searches these files:

secure-deploy.config.js
secure-deploy.config.json
.secure-deployrc
.secure-deployrc.json
package.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions