https://pulumi.com logo
#general
Title
# general
v

victorious-ambulance-28127

07/22/2019, 5:42 PM
Hi. I was hoping you might be able to help me. I am experiencing the issue that I am unable to delete/destroy an AWS SSM Document. It appears the issue was raised in a ticket. It appears the issue was fixed and the ticket has been closed https://github.com/pulumi/pulumi-aws/issues/649. I tried upgrading to the latest version of Pulumi but I guess this fix is not part of this version. Is it possible to provide any details when how/when I can see this fix? Thanks for your help.
b

broad-dog-22463

07/22/2019, 5:43 PM
Hi @victorious-ambulance-28127 What version of the pulumi-aws provider are you on?
v

victorious-ambulance-28127

07/22/2019, 5:44 PM
Apologies. I am fairly new to this. Trying to find the command so i can figure that one out
(Thank you for the fast response)
I thinks its 18.21
b

broad-dog-22463

07/22/2019, 5:52 PM
ok can you run
pulumi refresh
and make sure there are no changes?
v

victorious-ambulance-28127

07/22/2019, 5:59 PM
If i run pullumi refresh I more or less get the same error as described in the ticket 'unexpected null property parameter[0].
'preview failed'
Just wondering the fix seems to be in https://github.com/pulumi/pulumi-aws/pull/662 and mentions v2.20.0. Am I still picking up an old version of the provider? I tried running pulumi plugin install
b

broad-dog-22463

07/22/2019, 6:15 PM
no that's in the Terraform provider
so you ran
pulumi plugin install pulumi-aws
do you use the pulumi service (i.e. app.pulumi.com) ?
v

victorious-ambulance-28127

07/23/2019, 2:26 PM
Hi Paul. i am not using app.pulumi.com
when I try the plugin install command i get 'unrecognized plugin kind'
'pulumi plugin install' installs aws-0.18.21
b

broad-dog-22463

07/23/2019, 3:06 PM
Hi @victorious-ambulance-28127 where do you store your state?
v

victorious-ambulance-28127

07/23/2019, 3:07 PM
Hi. In a local file.
b

broad-dog-22463

07/23/2019, 3:09 PM
Ah! Ok can you run ‘Pulumi refresh’ and choose ‘details’
And see if it wants to make any Ssm document changes
v

victorious-ambulance-28127

07/23/2019, 3:11 PM
Preview failed: preparing urnpulumidev3:dev3awsssm/documentDocument:foo's property state: unexpected null property parameter[0]
b

broad-dog-22463

07/23/2019, 3:12 PM
Mmmhhhhh
TypeScript or python?
v

victorious-ambulance-28127

07/23/2019, 3:12 PM
typescript
b

broad-dog-22463

07/23/2019, 3:13 PM
Ok I will try and recreate
v

victorious-ambulance-28127

07/23/2019, 3:13 PM
Thank you for all your help.
b

broad-dog-22463

07/23/2019, 3:13 PM
Before the upgrade what version were you on?
v

victorious-ambulance-28127

07/23/2019, 3:13 PM
17.24
can i ask you what is the command to upload download a specific version of aws plugin. I can't find it anywhere in the docs.
I am trying pulumi plugin install aws v0.18.23
b

broad-dog-22463

07/23/2019, 3:18 PM
It should download by default the new one
Otherwise you can use npm to install it
v

victorious-ambulance-28127

07/23/2019, 3:44 PM
'pulumi plugin install resource aws v0.18.23' seemed to work
It updated the version of the aws plugin
but I still ge the same problem