File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,6 +133,9 @@ Parameters:
133133 Description : >-
134134 An S3 URI (starting with "s3://") that specifies the location of files to be copied to
135135 the environment instance, including any bootstrap scripts
136+ PipelineCommand :
137+ Type : String
138+ Description : The pipeline command is used to be executed in the ec2 instance head node
136139
137140Conditions :
138141 IamPolicyEmpty : !Equals [!Ref IamPolicyDocument, '{}']
@@ -545,6 +548,8 @@ Resources:
545548 exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1
546549
547550 cd /usr/bin
551+ sudo wget https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.rpm
552+ sudo rpm -ivh jdk-17_linux-x64_bin.rpm
548553 curl -s https://get.nextflow.io | bash
549554
550555 sudo yum update -y --security
@@ -640,7 +645,7 @@ Resources:
640645 chmod 500 "/tmp/get_bootstrap.sh"
641646 /tmp/get_bootstrap.sh "${EnvironmentInstanceFiles}" '${S3Mounts}'
642647 /opt/aws/bin/cfn-signal --exit-code 0 --resource EC2Instance --region ${AWS::Region} --stack ${AWS::StackName}
643-
648+
644649 InstanceType : !Ref 'InstanceType'
645650 SecurityGroupIds :
646651 - { "Fn::GetAtt" : ["InstanceSecurityGroup", "GroupId"] }
You can’t perform that action at this time.
0 commit comments