Skip to content

You're using escape sequences (${...}) with CDKTF Built-in functions. This is not supported yet, and the output may be incorrect #3923

@whiteninja76

Description

@whiteninja76

Expected Behavior

This is in the typescript version of the cdktf
Is this working or not . IT appears to work but is throwing a Synthesizing error but still works

Actual Behavior

Errors

Steps to Reproduce

  const sourceBucket = Fn.element(
    Fn.split("/",pipelineInBucket),
    0,
  ) as string;

Versions

language: typescript
cdktf-cli: 0.16.1
node: v22.11.0
cdktf: 0.20.11

terraform: v1.12.2

Providers

No response

Gist

No response

Possible Solutions

No response

Workarounds

No response

Anything Else?

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewUn-triaged issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions