Skip to content

Conversation

chamcca
Copy link

@chamcca chamcca commented May 11, 2023

Issue #, if available: Fixes: #998

Description of changes:

  • optionally create a request containing stackId during cfn invoke if it is included in the request JSON

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

request["desiredResourceState"],
request["previousResourceState"],
request.get("typeConfiguration"),
stackId=request.get("stackId")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stack id is not always present, as this is purely CloudFormation concept. Resource Handlers are also used by CloudControl, which does not provide value for this field. I would prefer to left it out of cfn invoke payload.

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 this pull request may close these issues.

Unable to set stackId when testing with cfn invoke
2 participants