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
62 stars 94 forks source link

s3_settings must be set when engine_name = "s3" #17

Closed harish-nandirajendra closed 2 years ago

harish-nandirajendra commented 2 years ago

Versions

Description

I have downloaded the latest modules and referencing it using my local. Everything was working fine, all of a sudden this is happening, I don't know why. I deployed multiple times, it was working fine like wine. I'm not sure why this error is coming up.

Error: 1 error occurred:* s3_settings must be set when engine_name = "s3"
with module.database_migration_service.aws_dms_endpoint.this["destination_2"],on .terraform/modules/database_migration_service/modules/terraform-aws-dms-master/main.tf line 160, in resource "aws_dms_endpoint" "this":

Expected behavior

Should not throw any issue. It was working fine previously.

Actual behavior

S3 endpoints should be deployed successfully.

harish-nandirajendra commented 2 years ago

Need some help here, guys?

sivapalaparthi84 commented 2 years ago

I am experiencing same issue with the module. Seems like something with Dynamic settings. Terraform is not identifying the S3_settings with dynamic variable on loop.

antonbabenko commented 2 years ago

This issue has been resolved in version 1.5.2 :tada:

bryantbiggs commented 2 years ago

@harish-nandirajendra / @sivapalaparthi84 can you try using v1.5.2 and let us know if that resolves your issue

github-actions[bot] commented 1 year ago

I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.