Hello,
I was wondering whether I can change formatting from 1 to 01…from 2 to 02 etc.
I need this change for count.index
Hello,
I was wondering whether I can change formatting from 1 to 01…from 2 to 02 etc.
I need this change for count.index
You want the format()
function: format - Functions - Configuration Language | Terraform | HashiCorp Developer
Specifically try using the format %02d
Thanks for your help! Works like a charm