Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Created March 17, 2024 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnlokerse/e76d04e55cea2711af6c8d01227b8fbd to your computer and use it in GitHub Desktop.
Save johnlokerse/e76d04e55cea2711af6c8d01227b8fbd to your computer and use it in GitHub Desktop.
Create your own function in Azure Bicep with user-defined functions blog
func funcSayHelloTo(name string) string => 'Hello and welcome, ${name}'
output outHelloAndWelcomeName string = funcSayHelloTo('John Doe')
/*
Outputs:
'Hello and welcome, John Doe'
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment