aws-amplify / aws-amplify/amplify-hosting

Storage headless is missing the following inputParams tables, region

Open
#1,782 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

### Before opening, please confirm:

- [X] I have checked to see if my question is addressed in the [FAQ](https://github.com/aws-amplify/amplify-console/blob/master/FAQ.md).
- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-console/issues?q=is%3Aissue+).
- [X] I have read the guide for [submitting bug reports](https://github.com/aws-amplify/amplify-console/blob/master/CONTRIBUTING.md).
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

### Describe the bug

2021-04-28T13:44:54.867Z [WARNING]: ✖ There was an error initializing your environment.
2021-04-28T13:44:54.870Z [INFO]: Failed to pull the backend.
2021-04-28T13:44:54.871Z [INFO]: storage headless is missing the following inputParams tables, region
2021-04-28T13:44:54.875Z [INFO]: Error: storage headless is missing the following inputParams tables, region

I have tried playing with environment variables as seen in other posts, however that doesn't change anything.

### Expected behavior

Expected build to occur successfully.

### Reproduction steps

1. amplify add storage
2. amplify add api
3. amplify push
4. Commit project to repo for Automatic build
5. build fails

### Build Settings

```yaml
version: 1
backend:
phases:
build:
commands:
- '# Execute Amplify CLI with the helper script'
- amplifyPush --simple
frontend:
phases:
preBuild:
commands:
- yarn install
build:
commands:
- yarn run build
artifacts:
baseDirectory: build
files:
- '**/*'
cache:
paths:
- node_modules/**/*
```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with the listed amplify add storage, amplify add api, and amplify push steps, then run the provided amplifyPush --simple build command. Start with the generated backend configuration and build logs around the missing storage inputParams region; done means the automatic build initializes and pulls the backend successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
ci-cd, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.