Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Property Mapper should Respect Tokens #835

@skorfmann

Description

@skorfmann

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

cdktf & Language Versions

  • all

Affected Resource(s)

  • Lazy / Token

Debug Output

node_modules/cdktf/lib/runtime.js:16
            return x.map(elementMapper);
                     ^

    TypeError: x.map is not a function

Expected Behavior

IResolvable should be skipped here as well

export function canInspect(x: any) {

Actual Behavior

It's trying to map IResolvable values, which fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcdktffeature/tokenspriority/important-soonHigh priority, to be worked on as part of our current release or the following one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions