2020-05-08 23:25:28 +00:00
|
|
|
{{ define "examples" -}}
|
2022-04-29 22:04:15 +00:00
|
|
|
{{ htmlSafe "<div><pulumi-examples>" }}
|
2021-03-14 14:24:55 +00:00
|
|
|
|
2020-05-08 23:25:28 +00:00
|
|
|
## Example Usage
|
|
|
|
|
2024-07-09 14:54:50 +00:00
|
|
|
{{ htmlSafe "<div><pulumi-chooser type=\"language\" options=\"" }}{{ .LangChooserLanguages }}{{ htmlSafe "\"></pulumi-chooser></div>" }}
|
2020-05-08 23:25:28 +00:00
|
|
|
|
2024-07-09 14:54:50 +00:00
|
|
|
{{ range .Examples }}
|
2020-05-08 23:25:28 +00:00
|
|
|
{{ .Title }}
|
|
|
|
|
2021-03-14 14:24:55 +00:00
|
|
|
{{ range $key, $val := .Snippets }}
|
2022-04-29 22:04:15 +00:00
|
|
|
{{ htmlSafe "<div>" }}
|
|
|
|
{{ htmlSafe "<pulumi-choosable type=\"language\" values=\"" }}{{ $key }}{{ htmlSafe "\">" }}
|
2021-03-14 14:24:55 +00:00
|
|
|
|
2020-05-08 23:25:28 +00:00
|
|
|
{{ htmlSafe $val }}
|
2021-03-14 14:24:55 +00:00
|
|
|
|
2022-04-29 22:04:15 +00:00
|
|
|
{{ htmlSafe "</pulumi-choosable>" }}
|
|
|
|
{{ htmlSafe "</div>" }}
|
2021-03-14 14:24:55 +00:00
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
2020-05-08 23:25:28 +00:00
|
|
|
{{ end }}
|
|
|
|
|
2022-04-29 22:04:15 +00:00
|
|
|
{{ htmlSafe "</pulumi-examples></div>" }}
|
2020-05-08 23:25:28 +00:00
|
|
|
|
2021-03-14 14:24:55 +00:00
|
|
|
{{ end }}
|