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

Commit

Permalink
Remove Bastion and AccessCIDR, small parameter adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
gargana committed Sep 23, 2021
1 parent c13d5c0 commit 53883df
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
AWSTemplateFormatVersion: '2010-09-09'
Description: "Amazon EKS PreWork pattern Blog"
Parameters:
AccessCIDR:
Default: 0.0.0.0/0
PreworkJobName:
Type: String
Default: 'example-job'
PreworkNameSpace:
Type: String
Default: 'example-job-ns'
PreworkScriptBucket:
Type: String
Default: 'aws-quickstart'
Expand All @@ -16,13 +19,12 @@ Resources:
Properties:
TemplateURL: 'https://aws-quickstart.s3.amazonaws.com/quickstart-amazon-eks/templates/amazon-eks-entrypoint-new-vpc.template.yaml'
Parameters:
# Quickstart properties
# AWS Quick Start properties
QSS3BucketName: aws-quickstart
QSS3KeyPrefix: quickstart-amazon-eks/
QSS3BucketRegion: us-east-1
# Cluster properties
ProvisionBastionHost: Enabled
AccessCIDR: !Ref AccessCIDR
# Amazon EKS Cluster properties
ProvisionBastionHost: Disabled
NodeInstanceType: t3.large
NumberOfNodes: 1
MaxNumberOfNodes: 1
Expand All @@ -34,5 +36,5 @@ Resources:
ClusterName: !Sub "EKSStack.Outputs.EKSClusterName"
PreworkScriptBucket: "aws-quickstart"
PreworkScriptObject: "quickstart-examples/samples/eks-cluster-prework/scripts/pw-script.sh"
JobName: "ExampleJob"
KubernetesNameSpace: "prework-example"
JobName: !Ref "PreWorkJobName"
KubernetesNameSpace: !Ref "PreworkNamespace"

0 comments on commit 53883df

Please sign in to comment.