Created
April 3, 2018 17:23
-
-
Save motowilliams/e344e6aaa0b84f546f90b89c4db20cc9 to your computer and use it in GitHub Desktop.
Start of replicating the ARM uniqueString function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "null_resource" "naming" { | |
triggers { | |
nameSuffix = "${var.environment}${substr(sha256(format(var.resourceGroupName,var.location,var.subscription_id)),0,13)}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment