aws-amplify / aws-amplify/amplify-hosting

Improve handling of amplify.yml file in repository root and Amplify console settings

Open
#4,022 1 comment 1 reaction 0 assignees View on GitHub
console feature-request
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

### Environment information

```plain text
N/A
```

### Description

Currently, if an `amplify.yml` file is present at the root of the repository, it takes precedence over the build settings configured in the Amplify console. However, the behavior when both an `amplify.yml` file and Amplify console settings are present can be confusing for users.

We should improve the handling of this scenario to provide a better user experience. Here are some suggestions:
- Clearly communicate to the user that the `amplify.yml` file in the repository root will take precedence over the Amplify console settings.
- Provide a warning or error message in the Amplify console if an amplify.yml file is detected in the repository root, informing the user that the console settings will be ignored.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing how a root amplify.yml file and Amplify console build settings are currently detected and prioritized. Define the user-facing warning or error behavior, including where precedence is communicated and how completion is verified when repository settings override console settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.