<commit_before>variable "count" {
  default = 2
}

resource "openstack_compute_instance_v2" "web" {
  count = "${var.count}"
  name = "${format("web-%02d", count.index+1)}"
  image_name = "test-sumaform-sp11"
  flavor_id = "2"
  security_groups = ["default"]
  network {
     uuid = "8cce38fd-443f-4b87-8ea5-ad2dc184064f"
  }

  provisioner "file" {
    source = "salt"
    destination = "/root"
  }

  provisioner "remote-exec" {
    inline = [
      "echo \"${template_file.grains.rendered}\" >> /etc/salt/grains",
      "salt-call --force-color --file-root /root/salt --local state.sls terraform-support",
      "salt-call --force-color --file-root /root/salt --local state.highstate"
    ]<commit_msg>Rename instance to sumaform-test<commit_after>variable "count" {
  default = 2
}

  count = "${var.count}"
  name = "${format("web-%02d", count.index+1)}"
resource "openstack_compute_instance_v2" "sumaform-test" {
  name = "sumaform-test"
  image_name = "test-sumaform-sp11"
  flavor_id = "2"
  security_groups = ["default"]
  network {
     uuid = "8cce38fd-443f-4b87-8ea5-ad2dc184064f"
  }

  provisioner "file" {
    source = "salt"
    destination = "/root"
  }

  provisioner "remote-exec" {
    inline = [
      "echo \"${template_file.grains.rendered}\" >> /etc/salt/grains",
      "salt-call --force-color --file-root /root/salt --local state.sls terraform-support",
      "salt-call --force-color --file-root /root/salt --local state.highstate"
    ]
{'fraction_non_alphanumeric': 0.17076502732240437, 'fraction_numerical': 0.03551912568306011, 'mean_word_length': 3.0921787709497206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6469514', 'n_tokens_mistral': 580, 'n_tokens_neox': 547, 'n_words': 97}