From 22018a8941bfbd1f1154bbb1b52c403b60d40839 Mon Sep 17 00:00:00 2001 From: EricoGR Date: Wed, 27 Oct 2021 17:50:04 -0300 Subject: [PATCH] fix bug for user serialization --- provider/pkg/provider/user.go | 6 +++--- sdk/dotnet/version.txt | 2 +- sdk/python/README.md | 8 ++++++++ 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/provider/pkg/provider/user.go b/provider/pkg/provider/user.go index 4bfc8e5..4fbc3f9 100644 --- a/provider/pkg/provider/user.go +++ b/provider/pkg/provider/user.go @@ -12,9 +12,9 @@ import ( ) type User struct { - Email string - Id string - Name string + Email string `pulumi:"email"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` } type SlackUserFunction struct { diff --git a/sdk/dotnet/version.txt b/sdk/dotnet/version.txt index 34db263..427565b 100644 --- a/sdk/dotnet/version.txt +++ b/sdk/dotnet/version.txt @@ -1 +1 @@ -0.0.1-alpha.1635165860+3a428576.dirty +0.0.3-alpha.1635355991+77cc49bc.dirty diff --git a/sdk/python/README.md b/sdk/python/README.md index cec7f8f..cc766bb 100644 --- a/sdk/python/README.md +++ b/sdk/python/README.md @@ -70,3 +70,11 @@ $ yarn install $ pulumi stack init test $ pulumi up ``` + +# Usage + +Install Plugin + +```bash +pulumi plugin install resource slack 0.0.1 -f /tmp/pulumi-resource-slack-xxxxx.tar.gz +```