Skip to content

Custom::LambdaAnalyticsExecutor resource failing to create when deploying the data collection stack #370

@Waqiah

Description

@Waqiah

Initially the CID framework using the below permission and data collection stack templates has been launched using version v3.0.3:
https://catalog.workshops.aws/awscid/en-US/data-collection/deploy#step-2.-in-data-collection-account-deploy-the-data-collection-stack

However recently when launching another data collection stack using the latest version, another permission stack was launched however that had failed to create with error, "Resource of type 'AWS::CloudFormation::StackSet' with identifier 'StackSet-xxxxxxxxxxxx-OptimizationDataRole' already exists." which makes sense because there is the earlier version v3.0.3 that still exists.

Without launching the newer version of the permission stack since the older version still is running in the account, tried launching the latest version data collection stack, however the Custom::LambdaAnalyticsExecutor resource fails to create with:
CloudFormation did not receive a response from your Custom Resource. Please check your logs for requestId [add8c581-1a3c-46dd-9e39-c04e6d646978]. If you are using the Python cfn-response module, you may need to update your Lambda function code so that CloudFormation can attach the updated version.

I cannot view the logs as I do not see the lambda function for this custom resource after the failure occurs. Hoping for some guidance into troubleshooting this behaviour.

Could it be a permission issue that is caused by not using the latest version of the permission stack, meaning it would need to be updated? Would updating it cause any issues with the version v3.0.3 data collection stack?

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