Skip to content

module 'aft_common.feature_options' has no attribute 'get_target_account_and_customization_id_from_event' #507

@jo-koe

Description

@jo-koe

Terraform Version & Prov:

AFT Version:
1.13.2

Terraform Version & Provider Versions
N/A

terraform version
N/A

terraform providers
N/A

Bug Description
We see below error if an existing Account Request JSON is updated:

{"errorMessage": "module 'aft_common.feature_options' has no attribute 'get_target_account_and_customization_id_from_event'", "errorType": "AttributeError", "requestId": "be0a3bd9-1c8c-49e4-9578-6e770320387d", "stackTrace": ["  File \"/var/task/aft_enroll_support.py\", line 27, in lambda_handler\n    feature_options.get_target_account_and_customization_id_from_event(event=event)\n"]}

To Reproduce
Update an existing account request JSON file and merge/push into main which triggers the Step Function.

Expected behavior
No error message is thrown.

Related Logs
See below.

Additional context

It seems this function was introduced in the last AFT version:
cd751f4#diff-181cd51b57200d31062c6f0aa61f3410cfee32f29248c3e1211401c344158b05R27

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpending investigationIssue needs further investigation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions