wet-noon-14291
06/13/2020, 7:55 PMlet options = CustomResourceOptions()
options.AdditionalSecretOutputs <- ["AdminPassword"] |> ResizeArray
Registry(name,
RegistryArgs(
Sku = input "basic",
ResourceGroupName = io resourceGroup.Name,
AdminEnabled = input true
), options = options)
but that doesn't seem to do the trick.AdditionalSecretOutputs
would propagate when I later access the value.tall-librarian-49374
06/13/2020, 9:18 PMlet secretOutput = notSecretOutput.Apply(Output.CreateSecret)
wet-noon-14291
06/13/2020, 9:23 PMlet makeSecret = Func<string, Output<string>>(Output.CreateSecret)
let adminPassword = containerRegistry.AdminPassword.Apply<string>(makeSecret)
then I outputted the secret.tall-librarian-49374
06/13/2020, 10:24 PM