Azure – Terraform string manipulation remove and add sub-strings
I have a sting crdemo01.australiaeast.data.azurecr.io I want to build the following string from the above one: crdemo01-test.australiaeast.data The same logic should apply to the following input strings as well: crdemo01.australiasoutheast.data.azurecr.io crdemo01.azurecr.io What I'm trying to achieve is to remove the…