This message was deleted.
# aws
s
This message was deleted.
s
You might be able to use getParametersByPath with a very specific path: https://www.pulumi.com/registry/packages/aws/api-docs/ssm/getparametersbypath/
And then check for the length of
arns
in the returned value.
l
Seems like not the Pulumi way? As a rule, if you ever intend to manage the Parameter, then you should always manage the parameter.
It would be better to manually check if the parameter exists once, and import it if it does.
m
That's a good point, I'll ask more about the requirements.