mirror of
https://github.com/docker/compose.git
synced 2025-07-22 13:14:29 +02:00
Merge pull request #844 from imrehg/network-typo
cloudformation: fix typo in generated ingress description
This commit is contained in:
commit
699e7c5074
@ -210,7 +210,7 @@ func (b *ecsAPIService) createIngress(service types.ServiceConfig, net string, p
|
|||||||
ingress := fmt.Sprintf("%s%dIngress", normalizeResourceName(net), port.Target)
|
ingress := fmt.Sprintf("%s%dIngress", normalizeResourceName(net), port.Target)
|
||||||
template.Resources[ingress] = &ec2.SecurityGroupIngress{
|
template.Resources[ingress] = &ec2.SecurityGroupIngress{
|
||||||
CidrIp: "0.0.0.0/0",
|
CidrIp: "0.0.0.0/0",
|
||||||
Description: fmt.Sprintf("%s:%d/%s on %s nextwork", service.Name, port.Target, port.Protocol, net),
|
Description: fmt.Sprintf("%s:%d/%s on %s network", service.Name, port.Target, port.Protocol, net),
|
||||||
GroupId: resources.securityGroups[net],
|
GroupId: resources.securityGroups[net],
|
||||||
FromPort: int(port.Target),
|
FromPort: int(port.Target),
|
||||||
IpProtocol: protocol,
|
IpProtocol: protocol,
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
"Default80Ingress": {
|
"Default80Ingress": {
|
||||||
"Properties": {
|
"Properties": {
|
||||||
"CidrIp": "0.0.0.0/0",
|
"CidrIp": "0.0.0.0/0",
|
||||||
"Description": "simple:80/tcp on default nextwork",
|
"Description": "simple:80/tcp on default network",
|
||||||
"FromPort": 80,
|
"FromPort": 80,
|
||||||
"GroupId": {
|
"GroupId": {
|
||||||
"Ref": "DefaultNetwork"
|
"Ref": "DefaultNetwork"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user