150150 "Type": "String"
151151 },
152152 "BastionSecurityGroupID": {
153- "Description": "ID of the bastion host security group id to enable SSH connections (e.g. sg-5f16e910).",
153+ "Description": "ID of the bastion host security group id to enable SSH connections (e.g. sg-5f16e910).",
154154 "Type": "AWS::EC2::SecurityGroup::Id",
155155 "MinLength": "1",
156156 "ConstraintDescription": "Must be a valid bastion host security group id (e.g. sg-5f16e910)."
157- },
157+ },
158158 "BlockSize": {
159159 "Description": "File system block size.",
160160 "Type": "String",
924924 "fi\n",
925925 "\n",
926926 "RUNNING=False\n",
927- "ec2-describe-instances --filter instance.group-id=$ServerSG | grep INSTANCE | awk '{print $2,$4,$5,$9,$10,$12}' > /var/log/instance_server.out\n",
927+ "ec2-describe-instances --filter instance.group-id=$ServerSG | grep INSTANCE | awk '{print $2,$4,$5,$9,$10,$12}' > /var/log/instance_server.out\n",
928928 "sleep $wait\n",
929929 "ec2-describe-instances --filter instance.group-id=$ComputeSG | grep INSTANCE | awk '{print $2,$4,$5,$9,$10,$12}' > /var/log/instance_compute.out\n",
930930 "SerNodeCount=$(cat /var/log/instance_server.out | grep running | wc -l)\n",
18991899 },
19001900 "\n",
19011901 "echo ReplaceUnhealthy process suspended from compute autoscaling group\n"
1902-
19031902 ]
19041903 ]
19051904 }
19321931 },
19331932 "\n",
19341933 "echo Fs1 fileSystem successfully mounted..\n"
1935- ]
1936- ]
1937- }
1938- },
1939- "10_gpfs_verifications": {
1934+ ]
1935+ ]
1936+ }
1937+ },
1938+ "10_gpfs_verifications": {
19401939 "command": {
19411940 "Fn::Join": [
19421941 "",
1943- [
1942+ [
19441943 "echo ----Lets do some verification test---\n",
19451944 "/usr/lpp/mmfs/bin/mmgetstate -a",
19461945 "\n",
19811980 {
19821981 "DeviceName": "/dev/sda1",
19831982 "Ebs": {
1984- "VolumeSize": { "Ref": "DiskSize" },
1983+ "VolumeSize": {
1984+ "Ref": "DiskSize"
1985+ },
19851986 "VolumeType": "gp2"
19861987 }
19871988 }
25792580 {
25802581 "DeviceName": "/dev/sda1",
25812582 "Ebs": {
2582- "VolumeSize": { "Ref": "DiskSize" },
2583+ "VolumeSize": {
2584+ "Ref": "DiskSize"
2585+ },
25832586 "VolumeType": "gp2"
25842587 }
25852588 }
27202723 "Description": "Stack Name"
27212724 }
27222725 }
2723- }
2726+ }
0 commit comments