Skip to content

Error running setup.py on MacOSX - dns_name = stack_create_status... returns KeyError: 'Outputs' #5

@joannbrereton

Description

@joannbrereton

Hi, hoping you can help with this issue.

When I ran the setup mode, it created and pushed the image to the repository, but then failed with the following...

The push refers to a repository [502967326040.dkr.ecr.us-east-1.amazonaws.com/spring-petclinic-rest]
713ad95b1a8f: Pushed
713ad95b1a8f: Layer already exists
3b39199b94cf: Layer already exists
9c6dfa1b39b1: Layer already exists
53e6145c41be: Layer already exists
04a094fe844e: Layer already exists
null: null
null: null
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:13 min
[INFO] Finished at: 2018-01-04T18:34:51-05:00
[INFO] Final Memory: 53M/506M
[INFO] ------------------------------------------------------------------------
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): cloudformation.us-east-1.amazonaws.com
Traceback (most recent call last):
  File "setup.py", line 851, in <module>
    main()
  File "setup.py", line 841, in main
    setup_results = setup(project_name=project_name, service_list=service_list, region=region)
  File "setup.py", line 578, in setup
    dns_name = stack_create_status['Stacks'][0]['Outputs'][0]['OutputValue'].encode('utf-8')
KeyError: 'Outputs'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions