You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I succesfuly generate tf files from a ressource group then i tried to include afterward some containers using a "query --recursive --append" but the default naming rule restart at "0" which make import collid.
How to use --append and ensuring new resources stack in the main.tf without name collision ?
How to force an "resource override recursive" ?
The text was updated successfully, but these errors were encountered:
@hguy In this case, you can use --name-pattern/-p to specify the pattern to something other than res-* to avoid name collision. Currently, aztfy is not smart enough to start the index of * from what is left in the state file.
@hguy In this case, you can use --name-pattern/-p to specify the pattern to something other than res-* to avoid name collision. Currently, aztfy is not smart enough to start the index of * from what is left in the state file.
Thank you for that tip.
It could be very useful to add these params in addition to --name-pattern.
--name-startindex #default `0`
--append-main #default `false`, require `--append`. If `true` append HCL to `main.tf`, append to `main.aztfy.tf` otherwise.
I succesfuly generate tf files from a ressource group then i tried to include afterward some containers using a "query --recursive --append" but the default naming rule restart at "0" which make import collid.
How to use --append and ensuring new resources stack in the main.tf without name collision ?
How to force an "resource override recursive" ?
The text was updated successfully, but these errors were encountered: