Skip to content

Unable to set stackId when testing with cfn invoke #998

Open

Description

@chamcca

When doing local testing of RESOURCEs, cfn invoke does not provide the ability to set a stackId on the request. This causes any handlers relying on the stackId to fail or incorporate special handling for missing stackId values.

Ideally, should be able to pass JSON like:

{
    "stackId": "test-stack",
    "desiredResourceState": {
        "Key1": "Value1",
        "Key2": "Value2"
    },
    "previousResourceState": {},
    "logicalResourceIdentifier": "SomeIdentifier"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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