<commit_before>package aws

import (
	"bytes"
	"encoding/json"
	"strings"
	"text/template"

	"github.com/cloudfoundry/bosh-bootloader/storage"
)

var AMIs = `{
	"us-east-1":      "ami-68115b02",
	"us-east-2":      "ami-6893b20d",
        "us-gov-west-1":  "ami-c39610a2",
	"us-west-1":      "ami-ef1a718f",
	"us-west-2":      "ami-77a4b816",
	"eu-west-1":      "ami-c0993ab3",
	"eu-central-1":   "ami-0b322e67",
	"ap-southeast-1": "ami-e2fc3f81",
	"ap-southeast-2": "ami-e3217a80",
	"ap-northeast-1": "ami-f885ae96",
	"ap-northeast-2": "ami-4118d72f",
	"sa-east-1":      "ami-8631b5ea"
}`

type TemplateGenerator struct{}

type TemplateData struct {
	NATDescription                 string
	InternalDescription            string
	BOSHDescription                string
	ConcourseDescription           string
	ConcourseInternalDescription   string
	SSHLBDescription               string
	SSHLBInternalDescription       string
	RouterDescription              string
	RouterInternalDescription      string
	TCPLBDescription               string
	TCPLBInternalDescription       string
	SSLCertificateNameProperty     string
	IgnoreSSLCertificateProperties string
	AWSNATAMIs                     map[string]string
}

func NewTemplateGenerator() TemplateGenerator {
	return TemplateGenerator{}<commit_msg>Reformat AWS NAT AMI defaults<commit_after>package aws

import (
	"bytes"
	"encoding/json"
	"strings"
	"text/template"

	"github.com/cloudfoundry/bosh-bootloader/storage"
)

var AMIs = `{
    "us-east-1":      "ami-68115b02",
    "us-east-2":      "ami-6893b20d",
    "us-gov-west-1":  "ami-c39610a2",
    "us-west-1":      "ami-ef1a718f",
    "us-west-2":      "ami-77a4b816",
    "eu-west-1":      "ami-c0993ab3",
    "eu-central-1":   "ami-0b322e67",
    "ap-southeast-1": "ami-e2fc3f81",
    "ap-southeast-2": "ami-e3217a80",
    "ap-northeast-1": "ami-f885ae96",
    "ap-northeast-2": "ami-4118d72f",
    "sa-east-1":      "ami-8631b5ea"
}`

type TemplateGenerator struct{}

type TemplateData struct {
	NATDescription                 string
	InternalDescription            string
	BOSHDescription                string
	ConcourseDescription           string
	ConcourseInternalDescription   string
	SSHLBDescription               string
	SSHLBInternalDescription       string
	RouterDescription              string
	RouterInternalDescription      string
	TCPLBDescription               string
	TCPLBInternalDescription       string
	SSLCertificateNameProperty     string
	IgnoreSSLCertificateProperties string
	AWSNATAMIs                     map[string]string
}

func NewTemplateGenerator() TemplateGenerator {
	return TemplateGenerator{}
{'fraction_non_alphanumeric': 0.11064797271693823, 'fraction_numerical': 0.059113300492610835, 'mean_word_length': 2.7183098591549295, 'pattern_counts': {'":': 24, '<': 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': '5756121', 'n_tokens_mistral': 979, 'n_tokens_neox': 902, 'n_words': 149}