aws-amplify / aws-amplify/amplify-cli

Failure to clone environment when Notifications category is added

Open
#13,208 3 comments 0 reactions 0 assignees View on GitHub
bug multienv notifications p2
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

### How did you install the Amplify CLI?

npm

### If applicable, what version of Node.js are you using?

v18.15.0

### Amplify CLI Version

12.4.0

### What operating system are you using?

Mac

### Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No manual changes made

### Describe the bug

After adding notifications to environment by `amplify notifications add` using `amplify add env` to clone this env fails.

![Zrzut ekranu 2023-09-11 o 14 30 15](https://github.com/aws-amplify/amplify-cli/assets/119587310/ed925edf-e285-4328-ac32-798e06120955)

### Expected behavior

Having notifications/analytics (Pinpoint project added) doesn't affect cloning environment.

### Reproduction steps

1. Create main env and add Auth category.
2. Add notifications category
3. Try to clone this environment

### Project Identifier

75e2f18c9b268cfb1285dcab10f7a0ff

### Log output

```
# Put your logs below this line

```

### Additional information

Cloning environment with following categories: API, Authentication, Functions, Storage works fine.

### Before submitting, please confirm:

- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- [X] I have removed any sensitive information from my code snippets and submission.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.