HI,
I am writing a code to create AWS DMS task (dependency endpoints)
I have over 100 tasks and endpoints which have different task_settings & table_mappings
so my main.tf has a lot of modules and it is hard to maintain
and the option of using count means that I would have to putt all tasks & endpoints in var.tf
which makes it the same
what do u recommend to do
Tnx,
juda
Hello Juda,
I would recommend using variables with every property that would change with every task.
Then use any pipeline tool to loop on the tasks and trigger it automatically.
examples:
(Jenkins- gitlab CI- github actions- AWS codePipeline)