<commit_before>package guest

const Instance = `{{define "instance"}}
  MasterInstance:
    Type: "AWS::EC2::Instance"
    Description: Master instance
    Properties:
      AvailabilityZone: {{ .MasterAZ }}
      IamInstanceProfile: !Ref MasterInstanceProfile
      ImageId: {{ .MasterImageID }}
      InstanceType: {{ .MasterInstanceType }}
      SecurityGroupIds:
      - !Ref MasterSecurityGroup
      SubnetId: !Ref PrivateSubnet
      UserData: {{ .MasterSmallCloudConfig }}
      Tags:
      - Key: Name
        Value: {{ .ClusterID }}-master
  EtcdVolume:
    Type: AWS::EC2::Volume
    Properties:
      Size: 100
      VolumeType: gp2
      AvailabilityZone: !GetAtt MasterInstance.AvailabilityZone
      Tags:
      - Key: Name
        Value: {{ .ClusterID }}-etcd
  MountPoint:
    Type: AWS::EC2::VolumeAttachment
    Properties:
      InstanceId: !Ref MasterInstance
      VolumeId: !Ref EtcdVolume
      Device: /dev/sdh
{{end}}`
<commit_msg>Make etcd volume dependent on master instance (#773)<commit_after>package guest

const Instance = `{{define "instance"}}
  MasterInstance:
    Type: "AWS::EC2::Instance"
    Description: Master instance
    Properties:
      AvailabilityZone: {{ .MasterAZ }}
      IamInstanceProfile: !Ref MasterInstanceProfile
      ImageId: {{ .MasterImageID }}
      InstanceType: {{ .MasterInstanceType }}
      SecurityGroupIds:
      - !Ref MasterSecurityGroup
      SubnetId: !Ref PrivateSubnet
      UserData: {{ .MasterSmallCloudConfig }}
      Tags:
      - Key: Name
        Value: {{ .ClusterID }}-master
  EtcdVolume:
    Type: AWS::EC2::Volume
    DependsOn:
    - MasterInstance
    Properties:
      Size: 100
      VolumeType: gp2
      AvailabilityZone: !GetAtt MasterInstance.AvailabilityZone
      Tags:
      - Key: Name
        Value: {{ .ClusterID }}-etcd
  MountPoint:
    Type: AWS::EC2::VolumeAttachment
    Properties:
      InstanceId: !Ref MasterInstance
      VolumeId: !Ref EtcdVolume
      Device: /dev/sdh
{{end}}`

{'fraction_non_alphanumeric': 0.10608345902463549, 'fraction_numerical': 0.008547008547008548, 'mean_word_length': 2.783269961977186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2403441', 'n_tokens_mistral': 591, 'n_tokens_neox': 570, 'n_words': 141}