Azure ARM templates environment() function equivalent for Terraform?

Hello,

I am trying to convert an ARM template to terraform and I am facing the situation where the ARM template is using the function environment().suffixes.storage to obtain a value. However, I have not been able to find an equivalent function or data source in Terraform to use instead. Are you away of any or an alternative way to get this information?

Thank you very much in advance

Hi @DanielDLHG . Did you find any solution to solve this problem? Currently, I need the same, but cannot find any workaround for this

Hi @yurii.paneiko. I never got to it. Honestly, when I wrote this post I was analyzing both terraform and Bicep. We ended using Bicep instead of terraform partly due this kind of situations.