Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
fixing subnet refs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyd committed Jan 12, 2017
1 parent 8f63eb7 commit d2378a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion nodepool/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ package config

import (
"fmt"
"io/ioutil"

cfg "github.com/coreos/kube-aws/config"
"github.com/coreos/kube-aws/coreos/amiregistry"
"github.com/coreos/kube-aws/coreos/userdatavalidation"
"github.com/coreos/kube-aws/filereader/jsontemplate"
"github.com/coreos/kube-aws/filereader/userdatatemplate"
model "github.com/coreos/kube-aws/model"
"gopkg.in/yaml.v2"
"io/ioutil"
)

type Ref struct {
Expand Down
6 changes: 2 additions & 4 deletions nodepool/config/templates/stack-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@
{"GroupId":{{$sgRef}}}
{{end}}
],
"SubnetId": {
{{$subnet.Ref}}
},
"SubnetId": {{$subnet.Ref}},
"UserData": "{{$.UserDataWorker}}"
}
{{end}}
Expand Down Expand Up @@ -336,7 +334,7 @@
"{{$subnet.SubnetLogicalName}}RouteTableAssociation": {
"Properties": {
"RouteTableId": {{$.RouteTableRef}},
"SubnetId": {{$subnet.Ref}},
"SubnetId": {{$subnet.Ref}}
},
"Type": "AWS::EC2::SubnetRouteTableAssociation"
}
Expand Down

0 comments on commit d2378a8

Please sign in to comment.