aws/aws-cdk-rfcs

Alternative Infrastructure Providers

alimeerutech opened this issue · 3 comments

add support for running Terraform or SDK/API calls via boto3 as an alternative infrastructure to provider to Cloudformation

Use Case

This would free CDK from all the issues/limitations that come with Cloudformation, also would open the door for cdk to deploy to other cloud providers/environments based on their own specific SDK/APIs.

Proposed Solution

in cdk.json

apps: [
  {
    "name": "app1",
    "provider": "terraform"
  },
  {
    "name": "app2",
    "provider": "boto3"
  }
]

Other

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

eladb commented

I am transferring this to the RFC repo for further discussion.

Oh god please no. Just use Pulumi if you want this kind of functionality. CDK does one thing and one thing well: apply opinionated patterns to create CloudFormation templates in a safe way.

This would be a strategy decision, not just a technical one. Therefore out of scope for this repo.