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

Commit

Permalink
Fix depends on
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Sokolkov committed Jun 7, 2018
1 parent a789f08 commit b0477de
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const Instance = `{{define "instance"}}
{{ .Instance.Master.Instance.ResourceName }}:
Type: "AWS::EC2::Instance"
Description: Master instance
DependsOn:
- DockerVolume
- EtcdVolume
Properties:
AvailabilityZone: {{ .Instance.Master.AZ }}
IamInstanceProfile: !Ref MasterInstanceProfile
Expand All @@ -19,8 +22,6 @@ const Instance = `{{define "instance"}}
Value: {{ .Instance.Cluster.ID }}-master
DockerVolume:
Type: AWS::EC2::Volume
DependsOn:
- {{ .Instance.Master.Instance.ResourceName }}
Properties:
Encrypted: true
Size: 100
Expand All @@ -31,8 +32,6 @@ const Instance = `{{define "instance"}}
Value: {{ .Instance.Master.DockerVolume.Name }}
EtcdVolume:
Type: AWS::EC2::Volume
DependsOn:
- {{ .Instance.Master.Instance.ResourceName }}
Properties:
Encrypted: true
Size: 100
Expand Down

0 comments on commit b0477de

Please sign in to comment.