From 6016223e96aa54a6ab7a0e3cfb0aac02d5c53235 Mon Sep 17 00:00:00 2001 From: VenelinMartinov Date: Thu, 14 Nov 2024 11:05:13 +0000 Subject: [PATCH] add yaml instructions for any tf provider (#42) --- .gitignore | 2 ++ docs/_index.md | 19 ++++++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d1147c6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +go.work +go.work.sum \ No newline at end of file diff --git a/docs/_index.md b/docs/_index.md index a7cc807..0e6bf82 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -133,13 +133,12 @@ To use this SDK in your Java project, complete the following steps: {{% /choosable %}} {{% choosable language yaml %}} -{{% notes type="info" %}} - -`terraform-provider` is not available for Pulumi YAML. We are working on -bringing the underlying technology that `terraform-provider` uses to Pulumi YAML. Progress -is tracked in [Parameterized Providers: YAML support #16802](https://github.com/pulumi/pulumi/issues/16802). +```console +$ pulumi package add terraform-provider hashicorp/random +Downloading provider: terraform-provider +``` -{{% /notes %}} +Note that the YAML language does not need an SDK. {{% /choosable %}} {{< /chooser >}} @@ -223,7 +222,13 @@ public class App { {{% choosable language yaml %}} ```yaml -# Coming soon +name: Pulumi Program +runtime: yaml +resources: + pet: + type: random:RandomPet + properties: + length: 2 ``` {{% /choosable %}}