Skip to content

Commit

Permalink
update db enrollment task role instructions (#44709)
Browse files Browse the repository at this point in the history
Ask for task role name, not role ARN
  • Loading branch information
GavinFrazar authored Jul 30, 2024
1 parent 2a643a9 commit ee29097
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -387,24 +387,21 @@ const CreateAccessRole = ({
<StyledBox mb={5}>
<H3 mb={2}>Step 1</H3>
<P mb={2}>
Name a Task Role ARN for this Database Service and generate a configure
command. This command will configure the required permissions in your
AWS account.
Name an IAM role for the Teleport Database Service and generate a
configuration command. The generated command will create the role and
configure permissions for it in your AWS account.
</P>
<FieldInput
mb={4}
disabled={disabled}
rule={requiredIamRoleName}
label="Name a Task Role ARN"
label="Name an IAM role"
autoFocus
value={taskRoleArn}
placeholder="TeleportDatabaseAccess"
width="440px"
mr="3"
onChange={e => setTaskRoleArn(e.target.value)}
toolTipContent={`Amazon Resource Names (ARNs) uniquely identify AWS \
resources. In this case you will naming an IAM role that this \
deployed service will be using`}
/>
<ButtonSecondary mb={3} onClick={generateAutoConfigScript}>
{scriptUrl ? 'Regenerate Command' : 'Generate Command'}
Expand Down

0 comments on commit ee29097

Please sign in to comment.