-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
WebDiscover: Add AWS Management Console as a guided flow #41569
Conversation
@kimlisa - this PR will require admin approval to merge due to its size. Consider breaking it up into a series smaller changes. |
69b20ff
to
bd2f0a1
Compare
bd2f0a1
to
def27bc
Compare
I'd be interested in seeing what this looks like when things fail. What happens if you don't have the right permissions or you paste an invalid ARN? (I've noticed in a lot of these workflows we tend to test the happy path quite well, but the failures often end up spitting out 50-line error messages that are ugly and incomprehensible.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First pass.
web/packages/teleport/src/Discover/Shared/AwsAccount/AwsAccount.test.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/Shared/AwsAccount/AwsAccount.test.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/Shared/AwsAccount/AwsAccount.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/Shared/AwsAccount/AwsAccount.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/Shared/AwsAccount/AwsAccount.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/AwsMangementConsole/CreateAppAccess/CreatedDialog.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/AwsMangementConsole/CreateAppAccess/CreateAppAccess.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/AwsMangementConsole/CreateAppAccess/CreatedDialog.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/Shared/SetupAccess/useUserTraits.test.tsx
Outdated
Show resolved
Hide resolved
ffafc4e
to
053ef01
Compare
053ef01
to
f2b8040
Compare
web/packages/teleport/src/Discover/AwsMangementConsole/AwsManagementConsole.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/AwsMangementConsole/CreateAppAccess/AppCreatedDialog.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/AwsMangementConsole/CreateAppAccess/CreateAppAccess.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/AwsMangementConsole/SetupAccess/SetupAccess.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/AwsMangementConsole/SetupAccess/SetupAccess.tsx
Show resolved
Hide resolved
web/packages/teleport/src/Discover/Shared/AwsAccount/AwsAccount.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/Shared/SetupAccess/SetupAccessWrapper.tsx
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/Shared/SetupAccess/useUserTraits.ts
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/Shared/SetupAccess/useUserTraits.ts
Outdated
Show resolved
Hide resolved
web/packages/teleport/src/Discover/Shared/SetupAccess/useUserTraits.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't have a chance to run it, but it looks good!
</StyledBox> | ||
<OutlineInfo mb={3} linkColor="buttons.link.default" width="800px"> | ||
<Text> | ||
If connection can't be established, ensure the IAM role you are trying |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If connection can't be established, ensure the IAM role you are trying | |
If the connection can't be established, ensure the IAM role you are trying |
a38ca53
to
af3e00c
Compare
* Pass integration field with apps * Add new endpoints, update types, add regex * Add yaml template for app access for access info * Define aws console as a selectable resource * AwsAccount step also fetches apps if awsConsole is detected * Implement create app server * Implement setup access view * Implement test connection view * Define aws console flow * Add tsh cli command for accessing aws cli * Address CR * Improve language * Address CR part 2
* Pass integration field with apps * Add new endpoints, update types, add regex * Add yaml template for app access for access info * Define aws console as a selectable resource * AwsAccount step also fetches apps if awsConsole is detected * Implement create app server * Implement setup access view * Implement test connection view * Define aws console flow * Add tsh cli command for accessing aws cli * Address CR * Improve language * Address CR part 2
* Pass integration field with apps * Add new endpoints, update types, add regex * Add yaml template for app access for access info * Define aws console as a selectable resource * AwsAccount step also fetches apps if awsConsole is detected * Implement create app server * Implement setup access view * Implement test connection view * Define aws console flow * Add tsh cli command for accessing aws cli * Address CR * Improve language * Address CR part 2
…1864) * Pass integration field with apps * Add new endpoints, update types, add regex * Add yaml template for app access for access info * Define aws console as a selectable resource * AwsAccount step also fetches apps if awsConsole is detected * Implement create app server * Implement setup access view * Implement test connection view * Define aws console flow * Add tsh cli command for accessing aws cli * Address CR * Improve language * Address CR part 2
closes #30150
requires: #41543
recommend reviewing by commit
Screen.Recording.2024-05-15.at.9.10.32.PM.mov
changelog: Add AWS Management Console as a guided flow using AWS OIDC integration in the "Enroll New Resource" view in the web UI