diff --git a/src/pages/[platform]/start/account-setup/index.mdx b/src/pages/[platform]/start/account-setup/index.mdx index 2368970abf6..7bc7fa460bc 100644 --- a/src/pages/[platform]/start/account-setup/index.mdx +++ b/src/pages/[platform]/start/account-setup/index.mdx @@ -255,17 +255,18 @@ The only AWS account available to you is: Using the account ID The only role available to you is: amplify-policy Using the role name "amplify-policy" -CLI default client Region [us-east-1]: +default client Region [us-east-1]: CLI default output format [None]: ``` **Make sure to set the profile name to `default`**. Alternatively, remember the auto-generated profile name; you will need this later. ```console title="Terminal" showLineNumbers={false} -CLI profile name [amplify-policy-]: default -To use this profile, specify the profile name using --profile, as shown: +Profile name [amplify-policy-]: default +The AWS CLI is now configured to use the default profile. +Run the following command to verify your configuration: -aws s3 ls --profile default +aws sts get-caller-identity ``` If you inspect `~/.aws/config`, you should now see the SSO profile: @@ -274,10 +275,10 @@ If you inspect `~/.aws/config`, you should now see the SSO profile: [profile default] sso_session = amplify-admin sso_account_id = -sso_role_name = AdministratorAccess +sso_role_name = amplify-policy region = [sso-session amplify-admin] -sso_start_url = https://xxxxxx.awsapps.com/start# +sso_start_url = https://xxxxxx.awsapps.com/start sso_region = sso_registration_scopes = sso:account:access ```