pulumi-aws
pulumi-aws copied to clipboard
PATCH 0007-Workaround-SSM-Parameter-tier-bug.patch
Tracking context on upstream patch 0007-Workaround-SSM-Parameter-tier-bug.patch here.
Change schema, remove Computed, add Default
Reviewing this patch lightly again today as @corymhall mentioned it's part of the friction in a scheduled upstream upgrade in https://github.com/pulumi/pulumi-aws/pull/3959
I think GetRawConfig() used to incorrectly return null in the bridge. To workaround the application of default tier got moved from inside the provider implementation reading GetRawConfig to a bridge-level default application.
The missing test program would be to provision an ssm.Parameter with various values of tier (including undefined) and verify it works as expected.