Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set stackId when testing with cfn invoke #998

Open
chamcca opened this issue May 11, 2023 · 0 comments · May be fixed by #999
Open

Unable to set stackId when testing with cfn invoke #998

chamcca opened this issue May 11, 2023 · 0 comments · May be fixed by #999

Comments

@chamcca
Copy link

chamcca commented May 11, 2023

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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant