Skip to content

Add support for no backend #2435

@Logankwb

Description

@Logankwb

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

Description

I'm using CDKTF to produce a Terraform Module for consumption by regular Terraform. As such I'm using cdktf synth to render Terraform JSON code.

This causes some warnings when I go to apply my workspace

image

For now, I'm working around this by adding an override, but this removes the whole terraform block, which could cause issues if used elsewhere:

stack.AddOverride(jsii.String("terraform"), cdktf.Token_NullValue())

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeature/cdktf-as-module-sourceWhen CDKTF is used to build Terraform Modules used in plain Terraformneeds-researchpriority/awaiting-more-evidenceLowest priority. Unlikely to be worked on unless/until it gets a lot more upvotes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions