I need to store state files for different accounts in different paths in single bucket in s3 by not hardcoding the values i need to give dynamically from app.
I saw some solutions regarding terragrunt but I dont know how to pass the different path for s3 backend dynamically.
I saw some solutions regarding CLI -config from CLI and terraform -reconfig but I need from UI.
I will put the repo in one place every time i need to pass the values from app dynamically.
Please suggest me some solutions regarding this.Need some examples how we will achieve this in terragrunt.
Thanks in advance.