Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.
This repository was archived by the owner on May 3, 2022. It is now read-only.

parameters not recognized #793

@sbawaska

Description

@sbawaska

create a bundle:

duffle create foo

add definition and parameter section to duffle.json:

"definitions": {
    "manifest_file": {
      "default": "/cnab/app/kab/manifest.yaml",
      "type": "string"
    }
  },
  "parameters": {
    "fields": {
      "param1": {
        "definition": "manifest_file",
        "destination": {
          "env:": "MANIFEST_FILE"
        }
      }
    }
  }

build the bundle:

duffle build .

specifying the parameter results in the following error:

duffle install myfoo foo -s param1=/some/path.foo
Error: parameter param1 not defined in bundle

This is despite param1 being present in the bundle definition:

cat ~/.duffle/bundles/9460e8557e16656f0f35b991eeb376e1a4086283 | jq
...
  "parameters": {
    "fields": {
      "param1": {
        "definition": "manifest_file",
        "destination": {}
      }
    }
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions