I would like to ask whether there is a plan to support for the Terraform Fastly provider ( Terraform Registry + GitHub - fastly/terraform-provider-fastly: Terraform Fastly provider ).
We wanted to start using CDK + Typescript instead of Terraform Configuration Language as it seems to be able to handle props drilling and similar issues much better, thus enabling us to have smaller and more reusable modules (on top of the whole company being familiar with Typescript), but Fastly support is a must.
Are there perhaps any options for us? The provider is fairly simple, so building some custom code on our own might be OK, but we wouldn’t want to do that unless necessary, plus we don’t even know where to start with that (other then looking into your github repositories and reverse engineering your work).
Thank you for your assistance!
Good news: CDKTF already provides out-of-the-box support for all Terraform providers available on the Registry! The CDK does have a subset of the providers called pre-built providers, for which we’ve generated bindings ahead of time and made them available as installable packages as a performance optimization; however, even if the provider you’re interested in isn’t available as a pre-built package, you can still use it as long as it’s available on the Terraform Registry. In our v0.11 release, we made it easier to add providers to your project if you don’t know whether a pre-built provider is available or not with the
provider add command.
To add the Fastly provider to your project, you can run the command:
cdktf provider add fastly/fastly
To add an optional version constraint, you can do e.g.
cdktf provider add fastly/fastly@~>2.2
Thank you very much! I didn’t know that.