mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-10-23 20:44:09 -07:00
Merge pull request #721 from jeremad/master
Some checks failed
Run integration tests for the cloud.google collection / integration (stable-2.16) (push) Has been cancelled
Run integration tests for the cloud.google collection / integration (stable-2.17) (push) Has been cancelled
Run integration tests for the cloud.google collection / integration (stable-2.18) (push) Has been cancelled
Run integration tests for the cloud.google collection / integration (stable-2.19) (push) Has been cancelled
Some checks failed
Run integration tests for the cloud.google collection / integration (stable-2.16) (push) Has been cancelled
Run integration tests for the cloud.google collection / integration (stable-2.17) (push) Has been cancelled
Run integration tests for the cloud.google collection / integration (stable-2.18) (push) Has been cancelled
Run integration tests for the cloud.google collection / integration (stable-2.19) (push) Has been cancelled
fix: return str on lookup of secret manager
This commit is contained in:
commit
c7a4ef6acd
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ class LookupModule(LookupBase):
|
||||||
self._display.vvv(msg=f"Module Parameters: {params}")
|
self._display.vvv(msg=f"Module Parameters: {params}")
|
||||||
fake_module = GcpMockModule(params)
|
fake_module = GcpMockModule(params)
|
||||||
result = self.get_secret(fake_module)
|
result = self.get_secret(fake_module)
|
||||||
return [base64.b64decode(result)]
|
return [base64.b64decode(result).decode("utf-8")]
|
||||||
|
|
||||||
def fallback_from_env(self, arg):
|
def fallback_from_env(self, arg):
|
||||||
if self.get_option(arg):
|
if self.get_option(arg):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue