Skip to content

Investigate cdktfΒ #99

@tiagob

Description

@tiagob

https://learn.hashicorp.com/terraform/cdktf/cdktf-build-ts
https://github.com/hashicorp/terraform-cdk

Advantages are:

  • Terraform has a much larger user base than Pulumi and is the goto for IAC
  • Terraform doesn't require an account

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions