You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main.ts is required in cdktf. Can't use index.ts or build/index.ts. Should be read from package.jsonmain
Included tsconfig.json (in cdktf init) doesn’t work with yarn workspaces with expo react-native
https://learn.hashicorp.com/terraform/cdktf/cdktf-build-ts
https://github.com/hashicorp/terraform-cdk
Advantages are:
Terraform providers are supported via an HCL to TS generator. So Auth0 etc. should work
https://www.terraform.io/docs/providers/auth0/index.html
Open questions
Auth0 dependency for building web and thus s3 files
Custom provider. Requires golang (more complicated than Pulumi)
https://learn.hashicorp.com/terraform/providers/setup-implement-read
Different stacks. Isn't supported yet IDEAL SOLUTION
hashicorp/terraform-cdk#35
hashicorp/terraform-cdk#34
Cloud invalidation
A module to handle via SQS and a lambda function. Overly complicated
https://github.com/dirt-simple/terraform-aws-cloudfront-invalidation
Wrap the script around another script to do the invalidation (better but not great) LIKELY SOLUTION
https://stackoverflow.com/questions/56835557/aws-cdk-post-deployment-actions
Custom provider. Requires golang (more complicated than Pulumi)
https://learn.hashicorp.com/terraform/providers/setup-implement-read
The text was updated successfully, but these errors were encountered: