diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cdc9cc10..ff6909f36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ CHANGELOG instances, and the like. Values are treated as "plain old python data" and generally kept as simple values (like strings, numbers, etc.) or the simple collections supported by the Pulumi data model (specifically, dictionaries and lists). +- Fix `get_secret` in Python SDK always returning None. + ### Compatibility - Deprecated functions in `@pulumi/pulumi` will now issue warnings if you call them. Please migrate diff --git a/sdk/python/lib/pulumi/config.py b/sdk/python/lib/pulumi/config.py index 6ec412cc6..cd7d4b96d 100644 --- a/sdk/python/lib/pulumi/config.py +++ b/sdk/python/lib/pulumi/config.py @@ -66,7 +66,7 @@ class Config: :return: The configuration key's value, or None if one does not exist. :rtype: Optional[str] """ - c = self.get(self.full_key(key)) + c = self.get(key) if c is None: return None