terraform-aws-modules / terraform-aws-dms

Terraform module to create AWS DMS (Database Migration Service) resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/dms/aws
Apache License 2.0
64 stars 96 forks source link

fix: Update aws provider version to restore support for ignore_header_row #41

Closed scadu closed 1 year ago

scadu commented 1 year ago

Description

Terraform provider in version 4.49.0 gets a fix that allows setting IgnoreHeaderRows, with a fallback on ignore_header_row besides ignore_header_rows. In version 5.0.0 of the provider, the fallback is removed and there are many other breaking changes that affects this module and underlying VPC module.

Motivation and Context

Fixes https://github.com/terraform-aws-modules/terraform-aws-dms/issues/38

Breaking Changes

How Has This Been Tested?

scadu commented 1 year ago

I have no idea why the PR title action fails, even though the title is fine. Looks like the fix prefix isn’t detected for some reason.

byjg commented 1 year ago

How do I use your PR in my code?

scadu commented 1 year ago

How do I use your PR in my code?

You can pin aws provider in your project with the same constraints as in the PR.

byjg commented 1 year ago

So, I checked the PR files and I realized there is no fix for the Ignore Rows itself, but limiting the terraform to 5.0. I have other terraform-aws they already upgraded the constraints to >5.0.0 and that force me to move to a newer version.

Anyway, thanks for the prompt answer.

scadu commented 1 year ago

So, I checked the PR files and I realized there is no fix for the Ignore Rows itself, but limiting the terraform to 5.0. I have other terraform-aws they already upgraded the constraints to >5.0.0 and that force me to move to a newer version.

Anyway, thanks for the prompt answer.

I will try to take a look and adjust the module, so it's compatible with aws provider 5.0.0 and above. Let's see.

scadu commented 1 year ago

With the current example, https://github.com/clowdhaus/terraform-aws-msk-kafka-cluster/pull/4 would need to get merged as EBS-related configuration for aws_msk_cluster resource were also moved.

igorjanevski commented 1 year ago

Can you guys provide ETA for the fix? We are stuck with this and need it to work with 5.0

brunodasilvalenga commented 1 year ago

Hey guys, any chances to someone approve the PR?

github-actions[bot] commented 1 year ago

This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days

siourdas-vasilis commented 1 year ago

Any updates on that????

scadu commented 1 year ago

Looks like https://github.com/terraform-aws-modules/terraform-aws-dms/pull/42 is the more complete one, but it's marked as a draft for now.

antonbabenko commented 1 year ago

This issue has been resolved in version 2.0.0 :tada:

github-actions[bot] commented 1 year ago

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.