Skip to content

Commit

Permalink
add explicit dependencies for prometheus/grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymccon committed Feb 5, 2020
1 parent a64a205 commit d91b2eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/amazon-eks.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ Resources:
KubeConfigBucket:
Type: "AWS::S3::Bucket"
PrometheusStack:
DependsOn: EKSControlPlane
Condition: EnableMonitoringPrometheusGrafana
Type: AWS::CloudFormation::Stack
Properties:
Expand All @@ -486,6 +487,7 @@ Resources:
KubeConfigPath: !Sub "s3://${KubeConfigBucket}/.kube/config.enc"
KubeConfigKmsContext: !Ref KubeConfigKmsContext
GrafanaStack:
DependsOn: EKSControlPlane
Condition: EnableMonitoringPrometheusGrafana
Type: AWS::CloudFormation::Stack
Properties:
Expand Down

0 comments on commit d91b2eb

Please sign in to comment.