hashicorp / terraform-cdk

Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
https://www.terraform.io/cdktf
Mozilla Public License 2.0
4.87k stars 456 forks source link

Regression v0.18.0: CDKTF Typescript Build Issue for External Module #3133

Closed sabinayakc closed 1 year ago

sabinayakc commented 1 year ago

Expected Behavior

CDKTF Typescript should compile when using external module.

    {
      "name": "eks-module-irsa",
      "source": "terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts-eks"
    }

Actual Behavior

image

Steps to Reproduce

https://github.com/hashicorp/terraform-cdk/issues/2983

Versions

language: typescript cdktf-cli: 0.18.0 node: v16.20.1 cdktf: 0.18.0 constructs: 10.2.70 jsii: null terraform: 1.4.0 arch: x64 os: linux 5.15.90.1-microsoft-standard-WSL2

Providers

No response

Gist

No response

Possible Solutions

No response

Workarounds

No response

Anything Else?

This might be a regression. Checkout References Below.

References

Help Wanted

Community Note

jsteinich commented 1 year ago

Likely the same as #3128

ansgarm commented 1 year ago

Closing this as a duplicate – should be fixed with the next release

ansgarm commented 1 year ago

Hi @sabinayakc 👋

We just released 0.18.1 which includes the #3131 fix that should solve this problem!

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.