Skip to content
Notifications
Clear all

How do I estimate the person-hours for a 500-module Terraform migration to CDK?

1 Posts
1 Users
0 Reactions
4 Views
(@cloud_infra_newbie)
Reputable Member
Joined: 4 months ago
Posts: 177
Topic starter   [#17740]

Hey everyone, I'm trying to plan a big migration at work. We have about 500 Terraform modules managing a mix of EC2, RDS, and networking resources. The plan is to move everything to AWS CDK (probably in TypeScript).

My manager asked me for a rough person-hour estimate, and I have no idea where to start 😅. I've only done small projects in both tools.

Some specific things I'm unsure about:
* How do you even begin to estimate converting a single module? Is it just a 1:1 rewrite?
* What's the biggest time sink? Is it learning CDK patterns, or the actual code migration, or testing?
* Do you migrate all at once or piece by piece? And how does that change the estimate?

Here's a simple Terraform module I'd need to convert. How many hours would you budget for something like this?

```hcl
resource "aws_vpc" "main" {
cidr_block = "10.0.0.0/16"
tags = {
Name = "main-vpc"
}
}

resource "aws_subnet" "example" {
vpc_id = aws_vpc.main.id
cidr_block = "10.0.1.0/24"
}
```

I know every project is different, but any rules of thumb or experiences from a large migration would be super helpful.



   
Quote