Skip to content

ggdeploymentd: Do not require os and architecture fields in component recipes #974

@aws-kevinrickard

Description

@aws-kevinrickard

Describe the bug

The recipe reference states os and architecture are optional, but they are not

To Reproduce

In recipe use:

  - Platform:
      runtime: "*"
      # os not provided
      #     - or -
      # architecture not provided

Expected behavior

Match the non-lite nucleus behavior, which I think should not enforce any requirements on os or architecture if they are not specified in the recipe

Actual behavior

E[ggdeploymentd] deployment_handler.c:1120: Cloud resolution for the component failed with response {"message":"The latest version of Component mycomponent satisfying requirements {requirements=0.1.0} doesn't claim platform {runtime=aws_nucleus_lite, os=linux, architecture=amd64} compatibility"}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions