Create or update an environment from AWS account suggestions
On the Environments page, inspect the repository suggestions that discovery grouped by AWS account. Check whether the proposed target creates an environment or updates one you already use.
Review the target and repository selections#
When discovery finds repositories that deploy to the same AWS account, administrators see Suggested by AWS account at the top of Environments. Each suggestion covers one account.
- Check the target. A suggestion creates a new environment, adds to the environment that already uses the account, or asks you to choose one when several environments use it.
- For a new environment, review the key and enter a display name.
- Clear the checkbox of each repository that should not join.
- Choose Delivery or Code-only for each repository. A delivery link reviews the repository's deployments to its GitHub environments. A code-only link adds its code as context. A repository without a GitHub environment joins as code-only.
- Select Create environment or Add repositories.
Adding to an existing environment never changes the repositories it already links. Confirmation waits while discovery is still scanning.