former2 icon indicating copy to clipboard operation
former2 copied to clipboard

Adding Prefix - Suffix when generating resources

Open advapiIT opened this issue 3 years ago • 2 comments

Hello, I was wondering if there's a way to specify a prefix/suffix when I geneare a cloudformation script ... now I'm editing the generated script manually but a build in feature would be great

Thanks

advapiIT avatar Apr 26 '22 07:04 advapiIT

Hi @advapiIT,

No such feature currently exists, but happy to consider it for the near future. There is currently a few predefined naming conventions in Settings -> Logical ID Strategy, however nothing that features a prefix / suffix.

What would be your preferred options? (e.g. "Custom prefix + long type prefix + optional index suffix")

iann0036 avatar Apr 26 '22 08:04 iann0036

Thanks for your fast reply Ian! I need to disambiguate from different customers and different environments (For example Customer:Mickey Mouse, Environment : Test, Customer:Goofy : Environment : Prod), since we don't have a Multi Account set we need to add this in order to be able to generate resources (in particular global ones as S3)

Thanks!

On Tue, Apr 26, 2022 at 10:15 AM Ian Mckay @.***> wrote:

Hi @advapiIT https://github.com/advapiIT,

No such feature currently exists, but happy to consider it for the near future. There is currently a few predefined naming conventions in Settings -> Logical ID Strategy, however nothing that features a prefix / suffix.

What would be your preferred options? (e.g. "Custom prefix + long type prefix + optional index suffix")

— Reply to this email directly, view it on GitHub https://github.com/iann0036/former2/issues/235#issuecomment-1109491846, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDZBJX6NDUZDX6QCZOCQ6DVG6QYHANCNFSM5UK6ISEA . You are receiving this because you were mentioned.Message ID: @.***>

advapiIT avatar Apr 26 '22 08:04 advapiIT