Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand tilde in credential_file configuration #312

Merged

Conversation

RyanJarv
Copy link
Contributor

@RyanJarv RyanJarv commented Oct 8, 2021

Currently the example configuration at https://hub.steampipe.io/plugins/turbot/gcp uses tildes to represent the users home directory. This doesn't seem to be supported by the GCP SDK however, this PR expands the tilde to the current users home directory to support using the credential_file configuration this way.

Haven't run any tests on this branch yet, I'll need to look into how to do that.

Integration test logs

TODO: Integration tests

Logs
Add passing integration test logs here

@e-gineer
Copy link
Contributor

@RyanJarv This is great stuff - thanks!

I've used your code already in the (under development) CSV plugin, and it's working great - turbot/steampipe-plugin-csv@a7f5f99

I believe this should be merged in, but will leave it with @rajlearner17 and @bigdatasourav to review and merge.

Copy link
Contributor

@bigdatasourav bigdatasourav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bigdatasourav bigdatasourav merged commit 039c953 into turbot:main Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants