Skip to content

All Module Outputs Typed as String #287

@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)

  • Modules

Debug Output

E.g the AWS VPC Module:

public get publicSubnetsOutput(): string {
    return this.interpolationForOutput('public_subnets')
  }

Expected Behavior

This should be treated as list of strings

Actual Behavior

It's treated as simple string

Steps to Reproduce

Import VPC module and reference the output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug/has-workaroundA bug with a workaround (may not be elegant)help wantedCommunity contributions welcome as the core team is unlikely to work on this soonmodulespriority/backlogLow priority (though possibly still important). Unlikely to be worked on within the next 6 months.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions