I am currently working on recreating existing infrastructure using terraform. I am using this package to recreate some Dynamo Tables but unfortunately they need to retain their existing name which contains underscores.
when I set the name with underscores in terraform these seem to be removed when applied and the result is applied without underscores.
Tested with default AWS module and this does not happen
Expected Behavior
When using underscores in name of dynamo table the table is created using these underscores
Describe the Bug
I am currently working on recreating existing infrastructure using terraform. I am using this package to recreate some Dynamo Tables but unfortunately they need to retain their existing name which contains underscores.
when I set the name with underscores in terraform these seem to be removed when applied and the result is applied without underscores.
Tested with default AWS module and this does not happen
Expected Behavior
When using underscores in name of dynamo table the table is created using these underscores
Steps to Reproduce
create terraform module
See plan has name without underscores:
Finally when applied see table has underscores removed:
Screenshots
No response
Environment
Mac OS (M3) terraform 1.7.5
Additional Context
No response