hashicorp / hashicorp/consul-aws

A service without a defined port generates errors

Open
#8 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
55
Forks
15
PR merge metrics
No merged PRs in 30d

Description

v0.1.1

AWS Cloud Map doesn't seem happy about creating services that have no ports.

Given a minimal service definition of:
```
service {
name = "foo"
}
```

The consul-aws output is spammed with:
```
2019-02-05T20:19:29.085Z [ERROR] aws: cannot create nodes: error="InvalidInput: A valid port number must be supplied.
```

Setting a port of 0 has no effect.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.