rhythmic-crowd-40243
11/11/2022, 2:04 PM"<http://black-walnut-0f9d0590f-stg.eastus2.2.azurestaticapps.net|black-walnut-0f9d0590f-stg.eastus2.2.azurestaticapps.net>"
Using the following code:
Output.Tuple(staticSite.DefaultHostname, resourceGroup.Location)
.Apply(x => x.Item1.ToSlotUrlWithEnvironment(env, x.Item2))
But the result is:
"black-walnut-0f9d0590f-stg.Pulumi.Input`1[System.String].<http://2.azurestaticapps.net|2.azurestaticapps.net>"
The staticSite.DefaultHostname
is handled as expected, but resourceGroup.Location
is using the object name instead of the expected value “eastus2”
Am I doing something wrong?ToSlotUrlWithEnvironment
had the signature public static string ToSlotUrlWithEnvironment(this string url, string environment, Input<string>? location = null)
instead of public static string ToSlotUrlWithEnvironment(this string url, string environment, string? location = null)