Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added AWS IAM role support to `databricks labs ucx create-uber-princi…
…pal` command (#993) ## Changes Added CLI command `databricks labs ucx create-uber-principal` for creating uber-IAM profile for performing external table migration on AWS. Logic: * Stop if UCX migration cluster policy is not found * Collect paths of all locations/paths used in tables (call `external_location.snapshot`) * If cluster policy has an existing iam instance profile/role specified, then add/update migration policy providing access to the locations * If cluster policy does not have iam instance profile/role specified, then create new iam profile/role and migration policy, and add it to the cluster policy ### Linked issues Resolves #879 Related issues: - #976 - #693 ### Functionality - [x] added new CLI command ### Tests - [x] manually tested - [x] added unit tests ### TODO - [x] added integration tests - [x] verified on staging environment (screenshot attached) --------- Co-authored-by: Vuong <vuong.nguyen@databricks.com>
- Loading branch information