Create storage credentials based on instance profiles and existing roles.#869
Merged
Create storage credentials based on instance profiles and existing roles.#869
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #869 +/- ##
==========================================
- Coverage 87.92% 87.92% -0.01%
==========================================
Files 43 43
Lines 5178 5258 +80
Branches 928 943 +15
==========================================
+ Hits 4553 4623 +70
- Misses 428 432 +4
- Partials 197 203 +6 ☔ View full report in Codecov by Sentry. |
nfx
requested changes
Feb 1, 2024
Collaborator
nfx
left a comment
There was a problem hiding this comment.
please rebase and address comments
2148442 to
e224cbf
Compare
nfx
reviewed
Feb 16, 2024
nfx
requested changes
Feb 17, 2024
Collaborator
nfx
left a comment
There was a problem hiding this comment.
Use dictionaries and serialize them to JSON, no string replacement
nfx
requested changes
Feb 17, 2024
| aws_cmd = shutil.which("aws") | ||
| code, _, error = self._command_runner(f"{aws_cmd} {command} --output json") | ||
| if code != 0: | ||
| logger.error(error) |
Collaborator
There was a problem hiding this comment.
Shouldn't we throw the exception instead for it to bubble up to the top?
nfx
reviewed
Feb 17, 2024
nfx
approved these changes
Feb 18, 2024
Collaborator
nfx
left a comment
There was a problem hiding this comment.
Add a small demo to PR description and ready to merge
nfx
approved these changes
Feb 18, 2024
nfx
added a commit
that referenced
this pull request
Feb 21, 2024
* Added secret detection logic to Azure service principal crawler ([#950](#950)). * Create storage credentials based on instance profiles and existing roles ([#869](#869)). * Enforced `protected-access` pylint rule ([#956](#956)). * Enforced `pylint` on unit and integration test code ([#953](#953)). * Enforcing `invalid-name` pylint rule ([#957](#957)). * Fixed AzureResourcePermissions.load to call Installation.load ([#962](#962)). * Fixed installer script to reuse an existing UCX Cluster policy if present ([#964](#964)). * More `pylint` tuning ([#958](#958)). * Refactor `workspace_client_mock` to have combine fixtures stored in separate JSON files ([#955](#955)). Dependency updates: * Updated databricks-sdk requirement from ~=0.19.0 to ~=0.20.0 ([#961](#961)).
Merged
nfx
added a commit
that referenced
this pull request
Feb 21, 2024
* Added secret detection logic to Azure service principal crawler ([#950](#950)). * Create storage credentials based on instance profiles and existing roles ([#869](#869)). * Enforced `protected-access` pylint rule ([#956](#956)). * Enforced `pylint` on unit and integration test code ([#953](#953)). * Enforcing `invalid-name` pylint rule ([#957](#957)). * Fixed AzureResourcePermissions.load to call Installation.load ([#962](#962)). * Fixed installer script to reuse an existing UCX Cluster policy if present ([#964](#964)). * More `pylint` tuning ([#958](#958)). * Refactor `workspace_client_mock` to have combine fixtures stored in separate JSON files ([#955](#955)). Dependency updates: * Updated databricks-sdk requirement from ~=0.19.0 to ~=0.20.0 ([#961](#961)).
dmoore247
pushed a commit
that referenced
this pull request
Mar 23, 2024
dmoore247
pushed a commit
that referenced
this pull request
Mar 23, 2024
* Added secret detection logic to Azure service principal crawler ([#950](#950)). * Create storage credentials based on instance profiles and existing roles ([#869](#869)). * Enforced `protected-access` pylint rule ([#956](#956)). * Enforced `pylint` on unit and integration test code ([#953](#953)). * Enforcing `invalid-name` pylint rule ([#957](#957)). * Fixed AzureResourcePermissions.load to call Installation.load ([#962](#962)). * Fixed installer script to reuse an existing UCX Cluster policy if present ([#964](#964)). * More `pylint` tuning ([#958](#958)). * Refactor `workspace_client_mock` to have combine fixtures stored in separate JSON files ([#955](#955)). Dependency updates: * Updated databricks-sdk requirement from ~=0.19.0 to ~=0.20.0 ([#961](#961)).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Linked issues
relates to #862
closes #913
Resolves #..
Functionality
Added method to detect missing roles and add them to the AWS account.
Screenshare.-.2024-02-17.9_23_51.PM.mp4
Tests