Terraform - random_id

This is a great resource type which you can utilize for the resources names which require unique name or strings for .e.g Storage account or s3 bucket.

Check the below code how you can add this resource type in your code and get benefited.




                         

In the above snippet you can see random_id resource type defined first and latter added in the storage name to generate the unique string as storage name.

16 comments:

  1. Thanks for sharing the information. Usefull information for terraform.

    ReplyDelete

Steps to Find Benchmarking of Applications Running on Azure

 Benchmarking involves establishing performance, utilization, and cost baselines for applications to identify optimization opportunities. He...