From 4b5de02553a9284b7153586c91c6dbcb52ba7843 Mon Sep 17 00:00:00 2001 From: sandeepsogani Date: Thu, 18 Aug 2022 12:57:44 +0530 Subject: [PATCH] INFRA-1227 | Sandeep Sogani | Adding dynamodb module --- bindata/bindata.go | 486 +++++++++++------- main.go | 12 + main_test.go | 7 + sample_infra_manifest.json | 68 ++- templates/dynamo-db-tf/deploy.sh | 18 + .../expected_output/dynamo-db-tf/deploy.sh | 13 + .../expected_output/dynamo-db-tf/main.tf | 24 + testdata/m1_basic/sample_infra_manifest.json | 66 +++ types.go | 128 +++-- 9 files changed, 593 insertions(+), 229 deletions(-) create mode 100644 templates/dynamo-db-tf/deploy.sh create mode 100755 testdata/m1_basic/expected_output/dynamo-db-tf/deploy.sh create mode 100755 testdata/m1_basic/expected_output/dynamo-db-tf/main.tf diff --git a/bindata/bindata.go b/bindata/bindata.go index ebfee11..c21ac66 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -1,22 +1,23 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: -// templates/aws-roles-tf/deploy.sh (1.638kB) -// templates/aws-roles-tf/main.tf (1.274kB) -// templates/aws-s3-bucket-tf/deploy.sh (1.075kB) -// templates/aws-s3-bucket-tf/main.tf (1.116kB) -// templates/document-db-tf/deploy.sh (1.045kB) -// templates/document-db-tf/main.tf (4.469kB) -// templates/elastic-cache-tf/deploy.sh (1.047kB) -// templates/elastic-cache-tf/main.tf (1.896kB) -// templates/rds-tf/deploy.sh (2.424kB) -// templates/rds-tf/main.tf (8.002kB) +// templates/aws-roles-tf/deploy.sh +// templates/aws-roles-tf/main.tf +// templates/aws-s3-bucket-tf/deploy.sh +// templates/aws-s3-bucket-tf/main.tf +// templates/document-db-tf/deploy.sh +// templates/document-db-tf/main.tf +// templates/dynamo-db-tf/deploy.sh +// templates/dynamo-db-tf/main.tf +// templates/elastic-cache-tf/deploy.sh +// templates/elastic-cache-tf/main.tf +// templates/rds-tf/deploy.sh +// templates/rds-tf/main.tf package bindata import ( "bytes" "compress/gzip" - "crypto/sha256" "fmt" "io" "io/ioutil" @@ -29,7 +30,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("Read %q: %v", name, err) } var buf bytes.Buffer @@ -37,7 +38,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("Read %q: %v", name, err) } if clErr != nil { return nil, err @@ -47,16 +48,21 @@ func bindataRead(data []byte, name string) ([]byte, error) { } type asset struct { - bytes []byte - info os.FileInfo - digest [sha256.Size]byte + bytes []byte + info fileInfoEx +} + +type fileInfoEx interface { + os.FileInfo + MD5Checksum() string } type bindataFileInfo struct { - name string - size int64 - mode os.FileMode - modTime time.Time + name string + size int64 + mode os.FileMode + modTime time.Time + md5checksum string } func (fi bindataFileInfo) Name() string { @@ -71,6 +77,9 @@ func (fi bindataFileInfo) Mode() os.FileMode { func (fi bindataFileInfo) ModTime() time.Time { return fi.modTime } +func (fi bindataFileInfo) MD5Checksum() string { + return fi.md5checksum +} func (fi bindataFileInfo) IsDir() bool { return false } @@ -78,229 +87,364 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _templatesAwsRolesTfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x54\x41\x6b\xdb\x30\x14\xbe\xeb\x57\x7c\x73\x0d\xd9\x0e\xb2\x61\xd7\x91\x43\x59\xbb\xd3\x18\xa3\xdd\xd8\x61\x83\xa2\xca\xcf\x89\xa8\x23\x19\x49\x6e\x62\x1c\xfd\xf7\x21\x37\x71\xec\xd4\xed\x18\x83\x5d\x82\xf3\xbe\xf7\xbe\xef\x7b\xd2\xd3\xbb\x78\x93\xdf\x2b\x9d\xbb\x35\x63\x17\xa0\x9d\xf2\xd8\xae\x49\x43\xe8\x16\xd2\x6c\x36\x42\x17\x28\x85\xaa\x1c\x73\xe4\xc1\x89\x31\x51\x14\xca\x2b\xa3\x45\x75\xe7\xc9\x5a\x51\x1a\xbb\xb9\x33\x75\x0c\xb9\x65\x92\x8c\xf1\x87\xe6\x9e\xc6\x10\xeb\x3a\xa8\x12\xd9\xa5\xec\x43\xd9\xd7\x4a\x68\x84\x80\x13\x8f\xe8\x91\x65\x1d\x81\xae\x03\x55\x8e\x26\x15\x57\xe4\xbc\x35\xed\x5c\x4d\xf1\x04\x0d\x65\x73\x39\xa2\xae\xab\x16\x7d\x8a\x2e\x10\x42\x74\xc4\xa3\x40\x6c\x73\x6a\xeb\x5c\x32\x66\xbf\xde\x7a\xda\xbd\x86\x07\xf0\x83\xc3\xa4\x17\x3d\xb6\x66\xec\x73\xa9\x21\x70\xd9\xfb\xfd\x77\x65\xd1\x78\xc3\x45\x5d\x5b\xf3\x48\x23\xf9\x29\xf1\xf4\xb6\x26\x9c\x63\x28\x80\xf3\xc2\xb6\xdc\x36\x7a\x29\x2b\x45\xda\x1f\x18\x0f\x27\xca\x06\x03\x50\x5a\xf9\xd1\xdf\xad\xb1\x0f\xae\x16\x92\xe0\xa8\x22\xe9\xe3\x3d\x64\xd7\x3b\x6f\xc5\x0d\x39\xd3\x58\x49\x2e\xfb\x31\xe4\x84\x80\xfd\x1e\x73\xd5\x9a\xb6\x7f\x2a\x65\x2c\xf6\xaa\x0a\xb2\x6e\x99\xbe\x3d\x91\x0c\x51\xec\xb1\xb2\x54\x63\x61\x69\xa5\x9c\xb7\x6d\x36\x24\x65\xca\xe4\x7c\x81\x3d\xc4\xf6\x01\xfc\x13\x92\x9f\x09\x16\x5d\x6d\x95\xf6\x48\xdf\x87\x88\x38\x2a\xb0\x70\x79\x96\xe6\xf9\xe2\x1d\xeb\xa1\x12\x8b\x5f\x7a\xc1\x4a\x63\x07\x11\x28\x8d\x74\x50\xfc\x80\xc2\x30\x40\x1a\x6b\x49\xfa\xbb\x63\x3c\x9e\xf4\xf1\x3b\xcf\x79\xbe\x16\x6e\xad\xa4\xb1\x75\x48\x18\x40\x72\x6d\x90\xd0\x8e\x64\xe3\x95\x5e\x9d\x42\xa7\x96\x9c\x17\x9e\x60\xa9\xae\x84\x24\x3e\x68\x4f\xee\xfc\x64\x03\xe9\xb9\x81\xc8\xf9\x97\x6c\xc9\x40\x97\x20\x99\x21\x2c\x8c\xa6\xc9\xa9\x8c\x86\x20\x3d\x7f\x94\x48\x5f\x1b\xde\xe3\x03\xd5\xc6\x3f\xdb\x1b\x0c\x88\x83\x29\x7d\x05\x69\x74\xa9\x56\x68\x1c\x71\x69\xb4\xa7\x9d\x47\xda\x7d\xfc\xfc\xfd\xf6\xdb\xf5\x4d\xcc\x3b\xb0\x9c\x8f\xcc\x2d\xd9\x47\x25\xe9\xc6\x54\x94\xc5\x9f\x2f\x62\x43\x13\xde\xa7\x85\xc1\xcb\xb9\x79\x9b\x2b\x46\x08\x7c\x26\xf5\x5a\x3f\x2a\x6b\xf4\x86\xb4\x47\x08\x59\x2b\x36\x15\x78\xbf\xe1\xb2\x2b\xaa\x2b\xd3\x46\x24\x8b\x04\xc3\xec\xa7\x2f\x3c\xbf\x43\x33\xc7\xf7\xfb\x82\xd5\xb1\x97\xf8\x7d\xdb\x94\xa5\xda\xfd\x27\x77\xc7\x55\x30\xda\x0a\xbf\x03\x00\x00\xff\xff\x11\xe9\x30\x5b\x66\x06\x00\x00") +var _bindataTemplatesAwsrolestfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x54\x41\x6b\xdb\x30\x14\xbe\xeb\x57\x7c\x73\x0d\xd9\x0e\xb2\x61\xd7\x91\x43\x59\xbb\xd3\x18\xa3\xdd\xd8\x61\x83\xa2\xca\xcf\x89\xa8\x23\x19\x49\x6e\x62\x1c\xfd\xf7\x21\x37\x71\xec\xd4\xed\x18\x83\x5d\x82\xf3\xbe\xf7\xbe\xef\x7b\xd2\xd3\xbb\x78\x93\xdf\x2b\x9d\xbb\x35\x63\x17\xa0\x9d\xf2\xd8\xae\x49\x43\xe8\x16\xd2\x6c\x36\x42\x17\x28\x85\xaa\x1c\x73\xe4\xc1\x89\x31\x51\x14\xca\x2b\xa3\x45\x75\xe7\xc9\x5a\x51\x1a\xbb\xb9\x33\x75\x0c\xb9\x65\x92\x8c\xf1\x87\xe6\x9e\xc6\x10\xeb\x3a\xa8\x12\xd9\xa5\xec\x43\xd9\xd7\x4a\x68\x84\x80\x13\x8f\xe8\x91\x65\x1d\x81\xae\x03\x55\x8e\x26\x15\x57\xe4\xbc\x35\xed\x5c\x4d\xf1\x04\x0d\x65\x73\x39\xa2\xae\xab\x16\x7d\x8a\x2e\x10\x42\x74\xc4\xa3\x40\x6c\x73\x6a\xeb\x5c\x32\x66\xbf\xde\x7a\xda\xbd\x86\x07\xf0\x83\xc3\xa4\x17\x3d\xb6\x66\xec\x73\xa9\x21\x70\xd9\xfb\xfd\x77\x65\xd1\x78\xc3\x45\x5d\x5b\xf3\x48\x23\xf9\x29\xf1\xf4\xb6\x26\x9c\x63\x28\x80\xf3\xc2\xb6\xdc\x36\x7a\x29\x2b\x45\xda\x1f\x18\x0f\x27\xca\x06\x03\x50\x5a\xf9\xd1\xdf\xad\xb1\x0f\xae\x16\x92\xe0\xa8\x22\xe9\xe3\x3d\x64\xd7\x3b\x6f\xc5\x0d\x39\xd3\x58\x49\x2e\xfb\x31\xe4\x84\x80\xfd\x1e\x73\xd5\x9a\xb6\x7f\x2a\x65\x2c\xf6\xaa\x0a\xb2\x6e\x99\xbe\x3d\x91\x0c\x51\xec\xb1\xb2\x54\x63\x61\x69\xa5\x9c\xb7\x6d\x36\x24\x65\xca\xe4\x7c\x81\x3d\xc4\xf6\x01\xfc\x13\x92\x9f\x09\x16\x5d\x6d\x95\xf6\x48\xdf\x87\x88\x38\x2a\xb0\x70\x79\x96\xe6\xf9\xe2\x1d\xeb\xa1\x12\x8b\x5f\x7a\xc1\x4a\x63\x07\x11\x28\x8d\x74\x50\xfc\x80\xc2\x30\x40\x1a\x6b\x49\xfa\xbb\x63\x3c\x9e\xf4\xf1\x3b\xcf\x79\xbe\x16\x6e\xad\xa4\xb1\x75\x48\x18\x40\x72\x6d\x90\xd0\x8e\x64\xe3\x95\x5e\x9d\x42\xa7\x96\x9c\x17\x9e\x60\xa9\xae\x84\x24\x3e\x68\x4f\xee\xfc\x64\x03\xe9\xb9\x81\xc8\xf9\x97\x6c\xc9\x40\x97\x20\x99\x21\x2c\x8c\xa6\xc9\xa9\x8c\x86\x20\x3d\x7f\x94\x48\x5f\x1b\xde\xe3\x03\xd5\xc6\x3f\xdb\x1b\x0c\x88\x83\x29\x7d\x05\x69\x74\xa9\x56\x68\x1c\x71\x69\xb4\xa7\x9d\x47\xda\x7d\xfc\xfc\xfd\xf6\xdb\xf5\x4d\xcc\x3b\xb0\x9c\x8f\xcc\x2d\xd9\x47\x25\xe9\xc6\x54\x94\xc5\x9f\x2f\x62\x43\x13\xde\xa7\x85\xc1\xcb\xb9\x79\x9b\x2b\x46\x08\x7c\x26\xf5\x5a\x3f\x2a\x6b\xf4\x86\xb4\x47\x08\x59\x2b\x36\x15\x78\xbf\xe1\xb2\x2b\xaa\x2b\xd3\x46\x24\x8b\x04\xc3\xec\xa7\x2f\x3c\xbf\x43\x33\xc7\xf7\xfb\x82\xd5\xb1\x97\xf8\x7d\xdb\x94\xa5\xda\xfd\x27\x77\xc7\x55\x30\xda\x0a\xbf\x03\x00\x00\xff\xff\x11\xe9\x30\x5b\x66\x06\x00\x00") -func templatesAwsRolesTfDeployShBytes() ([]byte, error) { +func bindataTemplatesAwsrolestfDeployShBytes() ([]byte, error) { return bindataRead( - _templatesAwsRolesTfDeploySh, + _bindataTemplatesAwsrolestfDeploySh, "templates/aws-roles-tf/deploy.sh", ) } -func templatesAwsRolesTfDeploySh() (*asset, error) { - bytes, err := templatesAwsRolesTfDeployShBytes() +func bindataTemplatesAwsrolestfDeploySh() (*asset, error) { + bytes, err := bindataTemplatesAwsrolestfDeployShBytes() if err != nil { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1638, mode: os.FileMode(0644), modTime: time.Unix(1655991310, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5d, 0x77, 0xf3, 0xde, 0x7, 0xd4, 0x85, 0x20, 0xc8, 0xbc, 0x67, 0x35, 0xde, 0x6c, 0x8, 0xc5, 0x6c, 0x52, 0xf9, 0xcf, 0xb7, 0xa0, 0xb3, 0xc7, 0x24, 0xee, 0x3c, 0xc6, 0x8f, 0x2, 0xf7, 0xd2}} + info := bindataFileInfo{ + name: "templates/aws-roles-tf/deploy.sh", + size: 1638, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1659083801, 0), + } + + a := &asset{bytes: bytes, info: info} + return a, nil } -var _templatesAwsRolesTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x6a\xdc\x30\x10\xbd\xef\x57\x0c\xba\x4b\x4b\xe9\x6d\x21\xd0\x06\xf6\xd0\x1e\xda\x10\x87\xf6\x68\xb4\xf2\xd8\x3b\x58\x96\x1c\x49\xde\x24\x38\xfe\xf7\x22\xc9\x0e\xeb\x66\xdb\xb4\xb4\x3a\x2c\x5a\xf1\xde\x9b\x79\x33\xcf\x01\x9d\x93\xb5\x75\x1d\x8c\x1b\x80\x83\x54\x2d\x9a\x0a\x98\x7f\xcf\xd2\x03\xc0\x61\x50\x2d\x06\x58\x9f\x2b\x60\xe3\x08\xa2\x08\x32\x60\x11\xac\xc3\xeb\x4c\x14\xd7\x09\xfd\x45\x76\x08\xd3\xc4\x92\x80\xc3\x86\xac\x79\x2d\x20\x7b\xee\xed\x10\x8e\xfc\x5d\xc6\xb5\xf8\x04\xaf\xce\x15\x30\x8f\xee\x44\x0a\x39\xc9\x8e\x3b\xab\xd1\x67\xf8\x38\x72\xa0\x1a\xf0\x1e\xc4\x27\x53\x3b\xf9\x0d\x5d\x20\x25\x35\x30\x8d\xa6\x22\xd3\x30\x98\xa6\x84\x7c\xb0\xae\xf5\xbd\x54\x58\xb6\xf8\x54\xf6\x0e\x6b\x7a\x8c\xc2\x24\xbb\xa4\xb7\x8d\x56\xf6\x8f\xc1\xc9\x5b\xf4\x76\x70\x0a\xbd\xd8\x9b\x13\x39\x6b\x3a\x34\x01\xa6\x29\x21\x66\x53\x7c\xb9\x17\x43\x1d\x85\x16\x9b\xb1\x1f\xd4\x1e\xff\xa6\xe8\xba\xf1\xb9\xce\xff\xe9\xc4\x54\x73\x23\xbd\xb3\x35\x69\xfc\xc3\xfd\x7d\xfc\x5e\xdc\xcc\x84\x45\x4e\x2a\x7d\x71\x2f\x39\x18\xdc\x3e\x18\x74\xbc\x1e\xb4\xe6\xca\x9a\xe0\xac\x8e\xb4\x69\x33\x6d\x36\x9d\xad\x06\x8d\xc9\x73\xda\x5c\x8e\x54\x36\x76\x26\xd4\x50\xd8\xed\xbc\x3f\xee\xb6\xdb\x86\xc2\x87\x86\xc2\x71\x38\x08\xd5\x55\xc2\xc8\x13\xf1\x80\xea\x28\xc8\x6c\xd3\x1f\x8a\x13\xdb\xbe\x44\x41\x34\x14\x62\x39\x3c\x1b\x52\xd4\x7c\x63\x8e\xcf\x70\x3f\xd8\x80\x39\x20\x73\xbe\xca\x28\x98\xb8\xac\xb7\x9a\x14\xa1\x67\xbb\x0b\x3a\x45\x86\xdf\x5a\x8d\xe2\x66\x06\xc2\x33\x74\x83\x0f\x77\xf6\xb3\xb7\x06\xa6\x24\x3b\xe7\xf3\x77\xf4\xf8\x13\xf7\x97\xf0\xb1\x7c\x69\xe2\x66\xe1\x57\x16\x2e\x71\x17\x2f\x2f\x35\x63\x06\xe1\xa2\x22\x7b\x33\x3b\x73\x72\x32\x3d\x8d\xba\x3c\x2d\xe9\xcc\x1d\xad\x13\xbb\x9a\x63\x90\x8d\x8f\xa8\x14\x9a\x3b\x94\xdd\x4c\x89\x57\x71\xde\xea\xf2\x5d\x7e\x8d\xc9\x39\x07\xe5\x87\x9f\x50\x89\xb9\x6e\x3e\xe7\x72\xff\x0f\x3b\x8f\xf1\xfc\x11\x00\x00\xff\xff\x27\xa2\x30\x91\xfa\x04\x00\x00") +var _bindataTemplatesAwsrolestfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x6a\xdc\x30\x10\xbd\xef\x57\x0c\xba\x4b\x4b\xe9\x6d\x21\xd0\x06\xf6\xd0\x1e\xda\x10\x87\xf6\x68\xb4\xf2\xd8\x3b\x58\x96\x1c\x49\xde\x24\x38\xfe\xf7\x22\xc9\x0e\xeb\x66\xdb\xb4\xb4\x3a\x2c\x5a\xf1\xde\x9b\x79\x33\xcf\x01\x9d\x93\xb5\x75\x1d\x8c\x1b\x80\x83\x54\x2d\x9a\x0a\x98\x7f\xcf\xd2\x03\xc0\x61\x50\x2d\x06\x58\x9f\x2b\x60\xe3\x08\xa2\x08\x32\x60\x11\xac\xc3\xeb\x4c\x14\xd7\x09\xfd\x45\x76\x08\xd3\xc4\x92\x80\xc3\x86\xac\x79\x2d\x20\x7b\xee\xed\x10\x8e\xfc\x5d\xc6\xb5\xf8\x04\xaf\xce\x15\x30\x8f\xee\x44\x0a\x39\xc9\x8e\x3b\xab\xd1\x67\xf8\x38\x72\xa0\x1a\xf0\x1e\xc4\x27\x53\x3b\xf9\x0d\x5d\x20\x25\x35\x30\x8d\xa6\x22\xd3\x30\x98\xa6\x84\x7c\xb0\xae\xf5\xbd\x54\x58\xb6\xf8\x54\xf6\x0e\x6b\x7a\x8c\xc2\x24\xbb\xa4\xb7\x8d\x56\xf6\x8f\xc1\xc9\x5b\xf4\x76\x70\x0a\xbd\xd8\x9b\x13\x39\x6b\x3a\x34\x01\xa6\x29\x21\x66\x53\x7c\xb9\x17\x43\x1d\x85\x16\x9b\xb1\x1f\xd4\x1e\xff\xa6\xe8\xba\xf1\xb9\xce\xff\xe9\xc4\x54\x73\x23\xbd\xb3\x35\x69\xfc\xc3\xfd\x7d\xfc\x5e\xdc\xcc\x84\x45\x4e\x2a\x7d\x71\x2f\x39\x18\xdc\x3e\x18\x74\xbc\x1e\xb4\xe6\xca\x9a\xe0\xac\x8e\xb4\x69\x33\x6d\x36\x9d\xad\x06\x8d\xc9\x73\xda\x5c\x8e\x54\x36\x76\x26\xd4\x50\xd8\xed\xbc\x3f\xee\xb6\xdb\x86\xc2\x87\x86\xc2\x71\x38\x08\xd5\x55\xc2\xc8\x13\xf1\x80\xea\x28\xc8\x6c\xd3\x1f\x8a\x13\xdb\xbe\x44\x41\x34\x14\x62\x39\x3c\x1b\x52\xd4\x7c\x63\x8e\xcf\x70\x3f\xd8\x80\x39\x20\x73\xbe\xca\x28\x98\xb8\xac\xb7\x9a\x14\xa1\x67\xbb\x0b\x3a\x45\x86\xdf\x5a\x8d\xe2\x66\x06\xc2\x33\x74\x83\x0f\x77\xf6\xb3\xb7\x06\xa6\x24\x3b\xe7\xf3\x77\xf4\xf8\x13\xf7\x97\xf0\xb1\x7c\x69\xe2\x66\xe1\x57\x16\x2e\x71\x17\x2f\x2f\x35\x63\x06\xe1\xa2\x22\x7b\x33\x3b\x73\x72\x32\x3d\x8d\xba\x3c\x2d\xe9\xcc\x1d\xad\x13\xbb\x9a\x63\x90\x8d\x8f\xa8\x14\x9a\x3b\x94\xdd\x4c\x89\x57\x71\xde\xea\xf2\x5d\x7e\x8d\xc9\x39\x07\xe5\x87\x9f\x50\x89\xb9\x6e\x3e\xe7\x72\xff\x0f\x3b\x8f\xf1\xfc\x11\x00\x00\xff\xff\x27\xa2\x30\x91\xfa\x04\x00\x00") -func templatesAwsRolesTfMainTfBytes() ([]byte, error) { +func bindataTemplatesAwsrolestfMainTfBytes() ([]byte, error) { return bindataRead( - _templatesAwsRolesTfMainTf, + _bindataTemplatesAwsrolestfMainTf, "templates/aws-roles-tf/main.tf", ) } -func templatesAwsRolesTfMainTf() (*asset, error) { - bytes, err := templatesAwsRolesTfMainTfBytes() +func bindataTemplatesAwsrolestfMainTf() (*asset, error) { + bytes, err := bindataTemplatesAwsrolestfMainTfBytes() if err != nil { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1274, mode: os.FileMode(0644), modTime: time.Unix(1652786506, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x31, 0x11, 0xaa, 0x7f, 0x1b, 0x56, 0x7a, 0xe3, 0x58, 0xe4, 0xe9, 0x5e, 0x84, 0x88, 0x3e, 0xcd, 0x6e, 0x7c, 0x82, 0x8e, 0xad, 0x6e, 0xfe, 0xb4, 0x65, 0xa8, 0x9e, 0x3c, 0x3f, 0xfd, 0x9d, 0x62}} + info := bindataFileInfo{ + name: "templates/aws-roles-tf/main.tf", + size: 1274, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1659083801, 0), + } + + a := &asset{bytes: bytes, info: info} + return a, nil } -var _templatesAwsS3BucketTfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x53\x41\x8f\xd3\x3c\x14\xbc\xfb\x57\xcc\xe7\x8d\x94\x8f\x43\x12\x89\x2b\xea\x61\x25\xe0\x8c\xb8\x70\x00\xa9\x32\xce\x4b\x63\x6d\x6a\x5b\xcf\x2e\x6d\x95\xe6\xbf\x23\x87\xd6\xd9\x96\xaa\x08\x71\x4b\x66\xe6\xbd\x99\x71\x9c\xa7\xff\x9a\xef\xc6\x36\xa1\x17\xe2\x09\x74\x30\x11\xfb\x9e\x2c\x94\x3d\x42\xbb\xed\x56\xd9\x16\x9d\x32\x43\x10\x81\x22\x2a\x12\x42\xb5\xad\x89\xc6\x59\x35\xac\x23\x31\xab\xce\xf1\x76\xed\x7c\x82\xc2\x4a\x4a\x21\xc6\x11\xa6\x43\xfd\xac\x67\xa8\xfe\x34\x28\x8b\x69\xc2\x22\x56\x33\xb3\xf2\x89\x18\x47\xd0\x10\xe8\x6a\xe2\x3d\x85\xc8\xee\x78\x6f\xa6\xfd\x45\xe5\xb1\x7b\x1a\xe5\xfd\x70\xc4\x2c\xb1\x2d\xa6\x29\x25\xaa\x92\x41\xea\x72\x1d\xeb\xd6\x32\xa9\x1f\xf7\x2b\xc6\x47\xfc\x84\xea\x9c\x50\xce\xa6\x97\x6a\x8e\x7f\xb7\xca\xc0\xf3\x9c\xf7\xdf\x9d\xd5\x2e\xba\x4a\x79\xcf\xee\x07\x9d\xed\xcf\xfd\x45\x96\xc3\x58\x13\x5f\xbd\xee\x1d\xbf\x04\xaf\x34\x21\xd0\x40\x3a\xa6\x53\xab\x3f\x1c\x22\xab\xcf\x14\xdc\x8e\x35\x85\xfa\x4b\xd6\x4c\x13\x4e\x27\xdc\x9b\xb6\xb4\xff\xd3\xa8\x10\x29\x99\x69\x89\xc3\xaa\xf8\x7f\x59\x92\x51\x9c\xb0\x61\xf2\x28\x99\x36\x26\x44\x3e\xd6\x59\x54\x1b\xd7\x54\x25\x4e\x50\xfb\x17\x54\x1f\x21\xbf\x4a\x94\xa3\x67\x63\x23\x8a\xb7\x53\x62\x02\xb5\x28\x43\x53\x17\x4d\x53\xbe\x11\x33\xd5\xa1\xfc\x66\x4b\xd1\x39\xce\x26\x30\x16\x45\x76\x7c\x87\xd6\x09\x40\x3b\x66\xd2\x71\x7d\xc1\xd3\x59\x5f\x9e\x9b\xa6\x6a\x7a\x15\x7a\xa3\x1d\xfb\x49\x0a\x80\x74\xef\x20\xe9\x40\x7a\x17\x8d\xdd\x2c\xd0\x52\x29\x44\x15\x09\x4c\x7e\x50\x9a\xaa\xec\x7d\xf5\x85\x96\x18\x28\x6e\x03\xa4\x9d\x7f\xb9\x4d\xe6\x75\x12\xf2\xce\xc2\xd6\x59\xba\x3a\x95\x57\x97\xa0\xb8\xfd\x85\x50\x3c\xba\x6a\xe2\x67\x00\x00\x00\xff\xff\x2f\xff\x37\x64\x33\x04\x00\x00") +var _bindataTemplatesAwss3buckettfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x53\x41\x8f\xd3\x3c\x14\xbc\xfb\x57\xcc\xe7\x8d\x94\x8f\x43\x12\x89\x2b\xea\x61\x25\xe0\x8c\xb8\x70\x00\xa9\x32\xce\x4b\x63\x6d\x6a\x5b\xcf\x2e\x6d\x95\xe6\xbf\x23\x87\xd6\xd9\x96\xaa\x08\x71\x4b\x66\xe6\xbd\x99\x71\x9c\xa7\xff\x9a\xef\xc6\x36\xa1\x17\xe2\x09\x74\x30\x11\xfb\x9e\x2c\x94\x3d\x42\xbb\xed\x56\xd9\x16\x9d\x32\x43\x10\x81\x22\x2a\x12\x42\xb5\xad\x89\xc6\x59\x35\xac\x23\x31\xab\xce\xf1\x76\xed\x7c\x82\xc2\x4a\x4a\x21\xc6\x11\xa6\x43\xfd\xac\x67\xa8\xfe\x34\x28\x8b\x69\xc2\x22\x56\x33\xb3\xf2\x89\x18\x47\xd0\x10\xe8\x6a\xe2\x3d\x85\xc8\xee\x78\x6f\xa6\xfd\x45\xe5\xb1\x7b\x1a\xe5\xfd\x70\xc4\x2c\xb1\x2d\xa6\x29\x25\xaa\x92\x41\xea\x72\x1d\xeb\xd6\x32\xa9\x1f\xf7\x2b\xc6\x47\xfc\x84\xea\x9c\x50\xce\xa6\x97\x6a\x8e\x7f\xb7\xca\xc0\xf3\x9c\xf7\xdf\x9d\xd5\x2e\xba\x4a\x79\xcf\xee\x07\x9d\xed\xcf\xfd\x45\x96\xc3\x58\x13\x5f\xbd\xee\x1d\xbf\x04\xaf\x34\x21\xd0\x40\x3a\xa6\x53\xab\x3f\x1c\x22\xab\xcf\x14\xdc\x8e\x35\x85\xfa\x4b\xd6\x4c\x13\x4e\x27\xdc\x9b\xb6\xb4\xff\xd3\xa8\x10\x29\x99\x69\x89\xc3\xaa\xf8\x7f\x59\x92\x51\x9c\xb0\x61\xf2\x28\x99\x36\x26\x44\x3e\xd6\x59\x54\x1b\xd7\x54\x25\x4e\x50\xfb\x17\x54\x1f\x21\xbf\x4a\x94\xa3\x67\x63\x23\x8a\xb7\x53\x62\x02\xb5\x28\x43\x53\x17\x4d\x53\xbe\x11\x33\xd5\xa1\xfc\x66\x4b\xd1\x39\xce\x26\x30\x16\x45\x76\x7c\x87\xd6\x09\x40\x3b\x66\xd2\x71\x7d\xc1\xd3\x59\x5f\x9e\x9b\xa6\x6a\x7a\x15\x7a\xa3\x1d\xfb\x49\x0a\x80\x74\xef\x20\xe9\x40\x7a\x17\x8d\xdd\x2c\xd0\x52\x29\x44\x15\x09\x4c\x7e\x50\x9a\xaa\xec\x7d\xf5\x85\x96\x18\x28\x6e\x03\xa4\x9d\x7f\xb9\x4d\xe6\x75\x12\xf2\xce\xc2\xd6\x59\xba\x3a\x95\x57\x97\xa0\xb8\xfd\x85\x50\x3c\xba\x6a\xe2\x67\x00\x00\x00\xff\xff\x2f\xff\x37\x64\x33\x04\x00\x00") -func templatesAwsS3BucketTfDeployShBytes() ([]byte, error) { +func bindataTemplatesAwss3buckettfDeployShBytes() ([]byte, error) { return bindataRead( - _templatesAwsS3BucketTfDeploySh, + _bindataTemplatesAwss3buckettfDeploySh, "templates/aws-s3-bucket-tf/deploy.sh", ) } -func templatesAwsS3BucketTfDeploySh() (*asset, error) { - bytes, err := templatesAwsS3BucketTfDeployShBytes() +func bindataTemplatesAwss3buckettfDeploySh() (*asset, error) { + bytes, err := bindataTemplatesAwss3buckettfDeployShBytes() if err != nil { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1652786506, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x25, 0x7b, 0x3a, 0x87, 0xcb, 0x58, 0x6a, 0x11, 0xb8, 0x7e, 0x6, 0x13, 0x49, 0x6b, 0x1c, 0xcd, 0xeb, 0xc7, 0x89, 0x7, 0x67, 0x45, 0x63, 0xa, 0xd3, 0x71, 0x60, 0xd7, 0xf9, 0x99, 0x5b}} + info := bindataFileInfo{ + name: "templates/aws-s3-bucket-tf/deploy.sh", + size: 1075, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1659083801, 0), + } + + a := &asset{bytes: bytes, info: info} + return a, nil } -var _templatesAwsS3BucketTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8a\xdb\x30\x10\xbd\xe7\x2b\x06\xdf\x65\x53\x72\x0b\x2c\xb4\x81\x1c\xda\x43\xbb\xd4\x4b\x7b\x34\x8a\x3c\x76\x84\x65\x29\x2b\x8d\x92\x5d\xbc\xfe\xf7\x22\xc9\x2e\xf6\x6e\x0a\x2d\x5d\x9d\x92\xc9\x9b\x37\x6f\xde\x9b\x10\x5a\xcb\x1b\x63\x7b\x18\x36\x00\x47\x2e\x3a\xd4\x35\x64\x6e\x9b\xc5\x02\xc0\xd1\x8b\x0e\x09\xd6\xef\x0e\xb2\x61\x80\xbc\x24\x4e\x58\x92\xb1\xb8\x4f\x8d\xf9\x3e\xa2\xbf\xf2\x1e\x61\x1c\xb3\x48\x60\xb1\x95\x46\xbf\x25\xe0\x67\xe6\x8c\xa7\x13\xfb\x90\x70\x1d\x3e\xc3\x9b\x77\x17\xa4\xb0\xa4\xc1\x25\xdc\x30\x30\x90\x0d\xe0\x23\xe4\x9f\x75\x63\xf9\x0f\xb4\x24\x05\x57\x90\x29\xd4\xb5\xd4\x6d\x06\xe3\x18\x91\x57\x63\x3b\x77\xe6\x02\xab\x0e\x9f\xab\xb3\xc5\x46\x3e\xad\x19\x8b\xb0\xc5\xe1\x89\x2c\xff\x8e\xce\x78\x2b\xd0\xe5\x07\x7d\x91\xd6\xe8\x1e\x35\xc1\x38\x46\xc4\xb4\x0f\x9b\x3f\x97\xbe\x09\x54\xf3\x86\x41\x11\x2a\x87\xff\x36\x76\x2d\x7e\x9a\xf4\x3e\x5a\x74\x3d\x49\x39\x5b\xd3\x48\x85\x7f\x19\xde\xa7\x9f\xe5\xfd\xd4\x30\xd3\x71\xa1\x6e\x86\x92\x16\x61\xe6\xaa\xd1\xb2\xc6\x2b\xc5\x84\xd1\x64\x8d\x0a\x6d\xe3\x66\xdc\x6c\x7a\x53\x7b\x85\xab\xf8\xe2\x45\xa5\xd5\x16\x54\xad\xa4\xdd\xce\xb9\xd3\xae\x28\x5a\x49\x1f\x5b\x49\x27\x7f\xcc\x45\x5f\xe7\x9a\x5f\x24\x23\x14\xa7\x5c\xea\x22\x7e\x91\xc1\xb3\x82\x5f\x1d\xfb\x4d\x9b\xb7\x92\xc2\x50\xb7\xad\xa6\x39\x81\xf5\x86\x97\xe5\x76\x3f\xfd\xfe\x02\xbd\x77\xf4\x60\xbe\x38\xa3\xd3\xad\xe0\xc2\xe7\x3f\xb4\x2f\xa3\x78\x81\x47\x6f\x08\x53\x6f\xd4\x54\x5d\xe6\x20\x53\xf3\x3a\xdc\x15\x3e\xa9\xac\x88\xb7\x2e\x80\xa3\xcd\x0f\xc8\xfb\xa5\xbf\x81\x22\xd4\x52\xda\xab\x76\x80\x6f\xc1\xf4\x25\x28\x15\x5e\xa1\xee\xad\xa9\xbd\xa0\x25\x6e\x2e\xbd\x42\xc6\x19\xd3\x51\xac\xfe\xb9\x87\xff\x70\x25\xdc\xc0\xaf\x00\x00\x00\xff\xff\xd0\x25\x5f\xaa\x5c\x04\x00\x00") +var _bindataTemplatesAwss3buckettfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8a\xdb\x30\x10\xbd\xe7\x2b\x06\xdf\x65\x53\x72\x0b\x2c\xb4\x81\x1c\xda\x43\xbb\xd4\x4b\x7b\x34\x8a\x3c\x76\x84\x65\x29\x2b\x8d\x92\x5d\xbc\xfe\xf7\x22\xc9\x2e\xf6\x6e\x0a\x2d\x5d\x9d\x92\xc9\x9b\x37\x6f\xde\x9b\x10\x5a\xcb\x1b\x63\x7b\x18\x36\x00\x47\x2e\x3a\xd4\x35\x64\x6e\x9b\xc5\x02\xc0\xd1\x8b\x0e\x09\xd6\xef\x0e\xb2\x61\x80\xbc\x24\x4e\x58\x92\xb1\xb8\x4f\x8d\xf9\x3e\xa2\xbf\xf2\x1e\x61\x1c\xb3\x48\x60\xb1\x95\x46\xbf\x25\xe0\x67\xe6\x8c\xa7\x13\xfb\x90\x70\x1d\x3e\xc3\x9b\x77\x17\xa4\xb0\xa4\xc1\x25\xdc\x30\x30\x90\x0d\xe0\x23\xe4\x9f\x75\x63\xf9\x0f\xb4\x24\x05\x57\x90\x29\xd4\xb5\xd4\x6d\x06\xe3\x18\x91\x57\x63\x3b\x77\xe6\x02\xab\x0e\x9f\xab\xb3\xc5\x46\x3e\xad\x19\x8b\xb0\xc5\xe1\x89\x2c\xff\x8e\xce\x78\x2b\xd0\xe5\x07\x7d\x91\xd6\xe8\x1e\x35\xc1\x38\x46\xc4\xb4\x0f\x9b\x3f\x97\xbe\x09\x54\xf3\x86\x41\x11\x2a\x87\xff\x36\x76\x2d\x7e\x9a\xf4\x3e\x5a\x74\x3d\x49\x39\x5b\xd3\x48\x85\x7f\x19\xde\xa7\x9f\xe5\xfd\xd4\x30\xd3\x71\xa1\x6e\x86\x92\x16\x61\xe6\xaa\xd1\xb2\xc6\x2b\xc5\x84\xd1\x64\x8d\x0a\x6d\xe3\x66\xdc\x6c\x7a\x53\x7b\x85\xab\xf8\xe2\x45\xa5\xd5\x16\x54\xad\xa4\xdd\xce\xb9\xd3\xae\x28\x5a\x49\x1f\x5b\x49\x27\x7f\xcc\x45\x5f\xe7\x9a\x5f\x24\x23\x14\xa7\x5c\xea\x22\x7e\x91\xc1\xb3\x82\x5f\x1d\xfb\x4d\x9b\xb7\x92\xc2\x50\xb7\xad\xa6\x39\x81\xf5\x86\x97\xe5\x76\x3f\xfd\xfe\x02\xbd\x77\xf4\x60\xbe\x38\xa3\xd3\xad\xe0\xc2\xe7\x3f\xb4\x2f\xa3\x78\x81\x47\x6f\x08\x53\x6f\xd4\x54\x5d\xe6\x20\x53\xf3\x3a\xdc\x15\x3e\xa9\xac\x88\xb7\x2e\x80\xa3\xcd\x0f\xc8\xfb\xa5\xbf\x81\x22\xd4\x52\xda\xab\x76\x80\x6f\xc1\xf4\x25\x28\x15\x5e\xa1\xee\xad\xa9\xbd\xa0\x25\x6e\x2e\xbd\x42\xc6\x19\xd3\x51\xac\xfe\xb9\x87\xff\x70\x25\xdc\xc0\xaf\x00\x00\x00\xff\xff\xd0\x25\x5f\xaa\x5c\x04\x00\x00") -func templatesAwsS3BucketTfMainTfBytes() ([]byte, error) { +func bindataTemplatesAwss3buckettfMainTfBytes() ([]byte, error) { return bindataRead( - _templatesAwsS3BucketTfMainTf, + _bindataTemplatesAwss3buckettfMainTf, "templates/aws-s3-bucket-tf/main.tf", ) } -func templatesAwsS3BucketTfMainTf() (*asset, error) { - bytes, err := templatesAwsS3BucketTfMainTfBytes() +func bindataTemplatesAwss3buckettfMainTf() (*asset, error) { + bytes, err := bindataTemplatesAwss3buckettfMainTfBytes() if err != nil { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1116, mode: os.FileMode(0644), modTime: time.Unix(1652786506, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4d, 0xd8, 0x69, 0xb3, 0x1e, 0x83, 0x32, 0x83, 0xef, 0x4c, 0xfe, 0x2a, 0x84, 0xe3, 0x1, 0x8e, 0x3a, 0xc2, 0x92, 0xaa, 0x2b, 0x58, 0x43, 0xdd, 0x25, 0xc, 0x73, 0x79, 0xd4, 0x79, 0xb4, 0x80}} + info := bindataFileInfo{ + name: "templates/aws-s3-bucket-tf/main.tf", + size: 1116, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1659083801, 0), + } + + a := &asset{bytes: bytes, info: info} + return a, nil } -var _templatesDocumentDbTfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x53\xc1\x8e\xd3\x30\x14\xbc\xfb\x2b\x06\x13\x29\x70\x48\x22\x71\x45\x3d\xac\x04\x9c\x11\x17\x0e\x20\x55\xc6\x7e\x6d\xad\x0d\xb6\xf5\xec\xd2\xad\x52\xff\x3b\x72\x68\xdd\x6d\xa9\x8a\xd0\xde\x92\x99\x79\x33\xf3\x1c\xe7\xf5\xab\xe1\x87\x75\x43\xdc\x08\x11\x29\xa1\x23\x21\x94\x31\x36\x59\xef\xd4\xb8\x4c\xc4\xac\x56\x9e\x7f\x2e\x7d\x28\x50\x5c\x48\x29\xc4\x34\xc1\xae\xd0\x3f\xe8\x19\xea\x3f\x8f\xca\x21\x67\x9c\xc5\x6a\x66\x16\xa1\x10\xd3\x04\x1a\x23\x5d\x4c\x7c\xa0\x98\xd8\xef\x6f\xcd\x98\x3f\x54\x1d\xbb\xa5\x51\x21\x8c\x7b\xcc\x12\x67\x90\x73\x69\xd4\x95\x00\xe5\xcc\x55\xad\xeb\xc8\xa2\xbe\xbf\x5f\x33\xdd\xe3\x33\xba\x63\x43\x39\x87\x9e\x56\xf3\xfc\x77\x54\x05\x1e\xe6\xbe\x2f\x4f\x56\xdb\xe4\x3b\x15\x02\xfb\x5f\x74\x8c\x3f\xee\x2f\xaa\x1c\xd6\xd9\xf4\xec\x75\xe7\xf9\x31\x06\xa5\x09\x91\x46\xd2\xa9\x9c\x5a\xff\xf1\x29\xb1\xfa\x42\xd1\x6f\x59\x53\xec\xbf\x56\x4d\xce\x38\x1c\x70\x6b\xda\xd1\xee\x5f\xa3\x42\x94\x66\xd6\x10\xc7\x45\xf3\xe6\x6c\x52\x51\x1c\xb0\x66\x0a\x68\x99\xd6\x36\x26\xde\xf7\x55\xd4\x5b\x3f\x74\x2d\x0e\x50\xbb\x47\x74\x9f\x20\xbf\x49\xb4\x53\x60\xeb\x12\x9a\x77\xb9\x30\x91\x0c\xda\x38\xf4\xcd\x30\xb4\x6f\xc5\x4c\xad\xd0\x7e\x77\xad\x58\x79\xae\x21\xb0\x0e\x4d\x4d\x7c\x0f\xe3\x05\xa0\x3d\x33\xe9\xb4\x3c\xe1\xe5\xac\x4f\xcf\xc3\xd0\x0d\x1b\x15\x37\x56\x7b\x0e\x59\x0a\x80\xf4\xc6\x43\xd2\x13\xe9\x6d\xb2\x6e\x7d\x86\xce\x2b\xc5\xa4\x12\x81\x29\x8c\x4a\x53\x57\xb3\x2f\xbe\xd0\xb9\x06\x9a\xeb\x02\xc5\xf3\x3f\xdd\x64\xb5\x93\x90\x37\x0c\x8d\x77\x74\x71\x2a\xcf\x2e\x41\x73\xfd\x0b\xa1\xb9\x77\xd5\xc4\xef\x00\x00\x00\xff\xff\x13\xd4\xeb\x38\x15\x04\x00\x00") +var _bindataTemplatesDocumentdbtfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x53\xc1\x8e\xd3\x30\x14\xbc\xfb\x2b\x06\x13\x29\x70\x48\x22\x71\x45\x3d\xac\x04\x9c\x11\x17\x0e\x20\x55\xc6\x7e\x6d\xad\x0d\xb6\xf5\xec\xd2\xad\x52\xff\x3b\x72\x68\xdd\x6d\xa9\x8a\xd0\xde\x92\x99\x79\x33\xf3\x1c\xe7\xf5\xab\xe1\x87\x75\x43\xdc\x08\x11\x29\xa1\x23\x21\x94\x31\x36\x59\xef\xd4\xb8\x4c\xc4\xac\x56\x9e\x7f\x2e\x7d\x28\x50\x5c\x48\x29\xc4\x34\xc1\xae\xd0\x3f\xe8\x19\xea\x3f\x8f\xca\x21\x67\x9c\xc5\x6a\x66\x16\xa1\x10\xd3\x04\x1a\x23\x5d\x4c\x7c\xa0\x98\xd8\xef\x6f\xcd\x98\x3f\x54\x1d\xbb\xa5\x51\x21\x8c\x7b\xcc\x12\x67\x90\x73\x69\xd4\x95\x00\xe5\xcc\x55\xad\xeb\xc8\xa2\xbe\xbf\x5f\x33\xdd\xe3\x33\xba\x63\x43\x39\x87\x9e\x56\xf3\xfc\x77\x54\x05\x1e\xe6\xbe\x2f\x4f\x56\xdb\xe4\x3b\x15\x02\xfb\x5f\x74\x8c\x3f\xee\x2f\xaa\x1c\xd6\xd9\xf4\xec\x75\xe7\xf9\x31\x06\xa5\x09\x91\x46\xd2\xa9\x9c\x5a\xff\xf1\x29\xb1\xfa\x42\xd1\x6f\x59\x53\xec\xbf\x56\x4d\xce\x38\x1c\x70\x6b\xda\xd1\xee\x5f\xa3\x42\x94\x66\xd6\x10\xc7\x45\xf3\xe6\x6c\x52\x51\x1c\xb0\x66\x0a\x68\x99\xd6\x36\x26\xde\xf7\x55\xd4\x5b\x3f\x74\x2d\x0e\x50\xbb\x47\x74\x9f\x20\xbf\x49\xb4\x53\x60\xeb\x12\x9a\x77\xb9\x30\x91\x0c\xda\x38\xf4\xcd\x30\xb4\x6f\xc5\x4c\xad\xd0\x7e\x77\xad\x58\x79\xae\x21\xb0\x0e\x4d\x4d\x7c\x0f\xe3\x05\xa0\x3d\x33\xe9\xb4\x3c\xe1\xe5\xac\x4f\xcf\xc3\xd0\x0d\x1b\x15\x37\x56\x7b\x0e\x59\x0a\x80\xf4\xc6\x43\xd2\x13\xe9\x6d\xb2\x6e\x7d\x86\xce\x2b\xc5\xa4\x12\x81\x29\x8c\x4a\x53\x57\xb3\x2f\xbe\xd0\xb9\x06\x9a\xeb\x02\xc5\xf3\x3f\xdd\x64\xb5\x93\x90\x37\x0c\x8d\x77\x74\x71\x2a\xcf\x2e\x41\x73\xfd\x0b\xa1\xb9\x77\xd5\xc4\xef\x00\x00\x00\xff\xff\x13\xd4\xeb\x38\x15\x04\x00\x00") -func templatesDocumentDbTfDeployShBytes() ([]byte, error) { +func bindataTemplatesDocumentdbtfDeployShBytes() ([]byte, error) { return bindataRead( - _templatesDocumentDbTfDeploySh, + _bindataTemplatesDocumentdbtfDeploySh, "templates/document-db-tf/deploy.sh", ) } -func templatesDocumentDbTfDeploySh() (*asset, error) { - bytes, err := templatesDocumentDbTfDeployShBytes() +func bindataTemplatesDocumentdbtfDeploySh() (*asset, error) { + bytes, err := bindataTemplatesDocumentdbtfDeployShBytes() if err != nil { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1652786506, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0x5d, 0x7e, 0x37, 0x93, 0x3d, 0x1a, 0x41, 0x45, 0x5d, 0xe3, 0xf2, 0x12, 0x6d, 0x3, 0x7f, 0x53, 0x8c, 0xe1, 0x89, 0x9c, 0xf2, 0xab, 0xd2, 0x8f, 0xfe, 0x8b, 0x39, 0x3, 0xd8, 0xa, 0x5f}} + info := bindataFileInfo{ + name: "templates/document-db-tf/deploy.sh", + size: 1045, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1659083801, 0), + } + + a := &asset{bytes: bytes, info: info} + return a, nil } -var _templatesDocumentDbTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x55\x4d\x8f\xe2\x46\x10\xbd\xf3\x2b\x5a\x9c\x63\x50\x94\xdb\x48\x23\x65\x87\xd9\x28\x68\x77\x92\xd1\x86\x99\x1c\xa2\xc8\x2a\x77\x17\xd0\xa2\x3f\x9c\xfe\x80\x65\x89\xff\xfb\xaa\xbb\x61\xc6\xe6\x1b\xd9\xeb\x03\x82\xf2\xab\x57\xaf\xde\x6b\x63\x87\xc6\xc0\x54\x1b\x49\x36\x3d\x42\x0a\xa0\x0b\x54\x8c\xf4\xed\x2f\xfd\x58\x20\xa4\xf0\x74\x81\x8e\x34\xaf\x7b\xd2\x57\xb0\xe4\x59\x01\x6a\x91\xbd\x51\x64\x54\x4b\x09\x8a\x65\xd6\x81\xc3\x7e\x6c\x37\x38\xe3\x5a\x1d\xb6\x43\x99\x59\xed\xdd\x3c\xfb\x39\xe1\x16\xb8\x26\x07\xd7\x3d\xe9\x33\x4d\xbd\x44\xe5\x32\x56\x24\xe0\x4a\x9b\x85\x2d\x81\x62\xbe\xc0\x75\x5e\x1a\x9c\xf2\xaf\x5b\x20\x2b\xd2\x64\x3b\xdc\x6c\xc8\x60\xac\xa6\x06\x5e\xd1\x38\x4e\x41\x90\xaa\x8a\xc5\x8f\x5f\x9d\x81\x2f\x68\xb5\x37\x14\xed\xe0\xa3\x5a\x72\xa3\x55\x18\x70\x02\xf1\xa8\xe9\x63\x31\x18\x2b\xeb\x40\x51\xfc\x03\x24\x92\xaa\x4a\x4a\x4a\xa3\xa7\x5c\xe0\x81\x64\x2a\x59\x02\x00\x15\x47\x77\x4a\x96\x66\x7a\xa5\xd0\x64\x53\x2f\x44\x46\xb5\x72\x46\x8b\xd0\x56\xf5\xaa\x5e\x4f\x6a\xe6\x05\x6e\x97\x4a\x49\x24\x41\x4d\xa2\x19\x77\x77\x77\xd6\xce\xef\x86\xc3\x19\x77\xbf\xce\xb8\x9b\xfb\x62\x40\x25\x1b\xc4\x74\x1c\xd2\xf9\x80\xab\x61\xfc\xc1\x83\x1d\x43\xa6\x69\xc6\x8a\x2c\xf1\x0f\x66\xdc\x85\x91\x58\x73\x61\x4b\x7d\xc1\xab\xff\xc9\x7f\x5e\xbb\x60\x45\x8f\x10\x05\x12\x77\x41\x9c\x6e\x3f\x62\x64\x83\x25\xea\xcb\x97\xbb\xbc\x76\x2c\xcd\x14\x1b\x1d\x0e\x41\xee\x59\x1b\x3a\x26\x08\x72\x70\xc8\x2f\xc1\x3a\x34\xb9\xb7\x68\x82\xe0\xb3\x2a\x9f\x22\xf6\xc5\xa2\x39\xca\x51\x82\xb5\x2b\x6d\xd8\x15\x1c\xcf\x3b\x68\x83\x87\x0a\x1f\x89\x2c\xff\x86\x97\x1c\x1b\x25\xec\x5f\x01\x5a\x55\xbd\xb0\x37\xcc\x6c\xe8\x88\x67\x6c\x52\x33\xe1\xec\xfe\x84\xfc\x19\xce\xdb\x21\x34\x95\xf7\xb0\xcf\x46\x33\x4f\xdd\x3e\x76\x57\xde\x43\xd7\x8f\xc6\x6d\x67\x87\x90\xa8\xb4\xa1\xaa\xae\x3d\x82\xe2\xd6\x7c\x7b\x72\x72\x2a\xc0\xda\x0b\xa6\x7d\x58\xd9\xdd\x49\x1b\x45\x78\x63\x28\x94\xa5\x58\xe7\x5c\x4a\x64\x1c\x1c\x8a\xf5\x59\xaa\x00\x1e\xd7\xb0\x29\x84\xcd\x26\x23\x7c\x7a\xa2\xe7\x19\x0c\x48\x74\x68\x6c\x33\xef\xf2\xbd\x7e\x4f\xfe\x89\xeb\x07\x1e\x03\x6a\x86\x97\xa9\x76\x8e\xa5\xe0\xd3\x73\x77\xca\xb2\x70\x2d\x41\xf8\x1d\xe0\x35\x7e\xdf\x47\x24\x23\x24\xba\xb9\x66\x5b\x60\x5c\xf7\x29\x55\xf6\x92\xaa\x7e\x7a\x53\x1c\xde\x11\xb1\xfa\x6f\xaf\x51\x78\x37\xe6\xc4\x3a\x9f\xa4\xfd\x84\xeb\xf1\xb6\x7b\x21\x6d\xfc\x17\xe7\xec\x5c\x02\x6f\x3d\x0d\x3d\x47\xa7\x1e\x27\x08\x9f\x0f\x1f\x04\x1a\x37\x99\x1b\xb4\x73\x2d\x98\x1d\x8c\x4a\xff\xe2\xb8\xe0\xdf\xc0\x85\x17\x54\xca\xa9\xf4\xb9\x7f\x2f\xe6\x20\xc0\xc8\xdc\xed\x9a\xce\x89\xbc\x66\x46\x7b\xfd\x8f\xde\x44\xaa\x5b\xe4\x63\x38\x07\xa9\x50\xa2\xe1\xfa\xca\x35\x4e\x8e\xea\x3a\x85\x91\x41\xc6\xdd\x03\x88\xf0\xb4\xbe\x2d\x42\x63\x35\x2f\x52\xb9\x8b\x24\x9a\x73\x3a\xce\xe2\x86\x25\xba\xc8\xa3\xeb\x5d\x6a\x4e\xbd\x6a\xe1\x25\xbe\x58\x98\xe1\x44\xeb\xdf\xf9\x6c\x9e\x78\x97\xb1\x9e\xfb\x70\xa3\x75\x1c\x47\x86\x74\x19\xc8\x0d\x3b\xb4\x4e\xe3\x87\xac\x52\xb3\xea\x37\x83\xf8\x84\x52\x9b\xf5\x44\xeb\xcf\x7a\x35\x56\x4f\x0f\x89\x79\x6a\x10\xa1\x10\x98\xcb\x78\xbb\x75\x28\x47\x27\x75\x19\xcb\xad\xab\xb4\xce\xe6\x07\x6d\x54\xf3\xec\xf1\x61\xa4\x95\x42\x1a\xe7\x25\x4a\x56\xe4\xf4\xbd\xd6\x3a\x95\xe6\x84\x2e\xe3\xb8\xac\xbd\x75\x00\x5d\x8b\xaf\xf9\xf2\x05\x81\x7d\x06\x87\x8a\xae\x13\xa1\x41\x60\xb9\x48\x95\xd6\xae\xd7\xd9\xbb\xf4\xfc\x1a\xd5\xad\x5d\xef\x56\x7c\xcd\x95\xbf\x0d\x77\xd8\x90\xbf\x0a\x95\xce\x5c\x6f\xf0\x77\x69\xfb\x75\xc2\x5b\x1b\x7f\x9d\xfe\xaa\xf7\x3d\x00\x00\xff\xff\x34\x58\x37\x1d\x75\x11\x00\x00") +var _bindataTemplatesDocumentdbtfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x55\x4d\x8f\xe2\x46\x10\xbd\xf3\x2b\x5a\x9c\x63\x50\x94\xdb\x48\x23\x65\x87\xd9\x28\x68\x77\x92\xd1\x86\x99\x1c\xa2\xc8\x2a\x77\x17\xd0\xa2\x3f\x9c\xfe\x80\x65\x89\xff\xfb\xaa\xbb\x61\xc6\xe6\x1b\xd9\xeb\x03\x82\xf2\xab\x57\xaf\xde\x6b\x63\x87\xc6\xc0\x54\x1b\x49\x36\x3d\x42\x0a\xa0\x0b\x54\x8c\xf4\xed\x2f\xfd\x58\x20\xa4\xf0\x74\x81\x8e\x34\xaf\x7b\xd2\x57\xb0\xe4\x59\x01\x6a\x91\xbd\x51\x64\x54\x4b\x09\x8a\x65\xd6\x81\xc3\x7e\x6c\x37\x38\xe3\x5a\x1d\xb6\x43\x99\x59\xed\xdd\x3c\xfb\x39\xe1\x16\xb8\x26\x07\xd7\x3d\xe9\x33\x4d\xbd\x44\xe5\x32\x56\x24\xe0\x4a\x9b\x85\x2d\x81\x62\xbe\xc0\x75\x5e\x1a\x9c\xf2\xaf\x5b\x20\x2b\xd2\x64\x3b\xdc\x6c\xc8\x60\xac\xa6\x06\x5e\xd1\x38\x4e\x41\x90\xaa\x8a\xc5\x8f\x5f\x9d\x81\x2f\x68\xb5\x37\x14\xed\xe0\xa3\x5a\x72\xa3\x55\x18\x70\x02\xf1\xa8\xe9\x63\x31\x18\x2b\xeb\x40\x51\xfc\x03\x24\x92\xaa\x4a\x4a\x4a\xa3\xa7\x5c\xe0\x81\x64\x2a\x59\x02\x00\x15\x47\x77\x4a\x96\x66\x7a\xa5\xd0\x64\x53\x2f\x44\x46\xb5\x72\x46\x8b\xd0\x56\xf5\xaa\x5e\x4f\x6a\xe6\x05\x6e\x97\x4a\x49\x24\x41\x4d\xa2\x19\x77\x77\x77\xd6\xce\xef\x86\xc3\x19\x77\xbf\xce\xb8\x9b\xfb\x62\x40\x25\x1b\xc4\x74\x1c\xd2\xf9\x80\xab\x61\xfc\xc1\x83\x1d\x43\xa6\x69\xc6\x8a\x2c\xf1\x0f\x66\xdc\x85\x91\x58\x73\x61\x4b\x7d\xc1\xab\xff\xc9\x7f\x5e\xbb\x60\x45\x8f\x10\x05\x12\x77\x41\x9c\x6e\x3f\x62\x64\x83\x25\xea\xcb\x97\xbb\xbc\x76\x2c\xcd\x14\x1b\x1d\x0e\x41\xee\x59\x1b\x3a\x26\x08\x72\x70\xc8\x2f\xc1\x3a\x34\xb9\xb7\x68\x82\xe0\xb3\x2a\x9f\x22\xf6\xc5\xa2\x39\xca\x51\x82\xb5\x2b\x6d\xd8\x15\x1c\xcf\x3b\x68\x83\x87\x0a\x1f\x89\x2c\xff\x86\x97\x1c\x1b\x25\xec\x5f\x01\x5a\x55\xbd\xb0\x37\xcc\x6c\xe8\x88\x67\x6c\x52\x33\xe1\xec\xfe\x84\xfc\x19\xce\xdb\x21\x34\x95\xf7\xb0\xcf\x46\x33\x4f\xdd\x3e\x76\x57\xde\x43\xd7\x8f\xc6\x6d\x67\x87\x90\xa8\xb4\xa1\xaa\xae\x3d\x82\xe2\xd6\x7c\x7b\x72\x72\x2a\xc0\xda\x0b\xa6\x7d\x58\xd9\xdd\x49\x1b\x45\x78\x63\x28\x94\xa5\x58\xe7\x5c\x4a\x64\x1c\x1c\x8a\xf5\x59\xaa\x00\x1e\xd7\xb0\x29\x84\xcd\x26\x23\x7c\x7a\xa2\xe7\x19\x0c\x48\x74\x68\x6c\x33\xef\xf2\xbd\x7e\x4f\xfe\x89\xeb\x07\x1e\x03\x6a\x86\x97\xa9\x76\x8e\xa5\xe0\xd3\x73\x77\xca\xb2\x70\x2d\x41\xf8\x1d\xe0\x35\x7e\xdf\x47\x24\x23\x24\xba\xb9\x66\x5b\x60\x5c\xf7\x29\x55\xf6\x92\xaa\x7e\x7a\x53\x1c\xde\x11\xb1\xfa\x6f\xaf\x51\x78\x37\xe6\xc4\x3a\x9f\xa4\xfd\x84\xeb\xf1\xb6\x7b\x21\x6d\xfc\x17\xe7\xec\x5c\x02\x6f\x3d\x0d\x3d\x47\xa7\x1e\x27\x08\x9f\x0f\x1f\x04\x1a\x37\x99\x1b\xb4\x73\x2d\x98\x1d\x8c\x4a\xff\xe2\xb8\xe0\xdf\xc0\x85\x17\x54\xca\xa9\xf4\xb9\x7f\x2f\xe6\x20\xc0\xc8\xdc\xed\x9a\xce\x89\xbc\x66\x46\x7b\xfd\x8f\xde\x44\xaa\x5b\xe4\x63\x38\x07\xa9\x50\xa2\xe1\xfa\xca\x35\x4e\x8e\xea\x3a\x85\x91\x41\xc6\xdd\x03\x88\xf0\xb4\xbe\x2d\x42\x63\x35\x2f\x52\xb9\x8b\x24\x9a\x73\x3a\xce\xe2\x86\x25\xba\xc8\xa3\xeb\x5d\x6a\x4e\xbd\x6a\xe1\x25\xbe\x58\x98\xe1\x44\xeb\xdf\xf9\x6c\x9e\x78\x97\xb1\x9e\xfb\x70\xa3\x75\x1c\x47\x86\x74\x19\xc8\x0d\x3b\xb4\x4e\xe3\x87\xac\x52\xb3\xea\x37\x83\xf8\x84\x52\x9b\xf5\x44\xeb\xcf\x7a\x35\x56\x4f\x0f\x89\x79\x6a\x10\xa1\x10\x98\xcb\x78\xbb\x75\x28\x47\x27\x75\x19\xcb\xad\xab\xb4\xce\xe6\x07\x6d\x54\xf3\xec\xf1\x61\xa4\x95\x42\x1a\xe7\x25\x4a\x56\xe4\xf4\xbd\xd6\x3a\x95\xe6\x84\x2e\xe3\xb8\xac\xbd\x75\x00\x5d\x8b\xaf\xf9\xf2\x05\x81\x7d\x06\x87\x8a\xae\x13\xa1\x41\x60\xb9\x48\x95\xd6\xae\xd7\xd9\xbb\xf4\xfc\x1a\xd5\xad\x5d\xef\x56\x7c\xcd\x95\xbf\x0d\x77\xd8\x90\xbf\x0a\x95\xce\x5c\x6f\xf0\x77\x69\xfb\x75\xc2\x5b\x1b\x7f\x9d\xfe\xaa\xf7\x3d\x00\x00\xff\xff\x34\x58\x37\x1d\x75\x11\x00\x00") -func templatesDocumentDbTfMainTfBytes() ([]byte, error) { +func bindataTemplatesDocumentdbtfMainTfBytes() ([]byte, error) { return bindataRead( - _templatesDocumentDbTfMainTf, + _bindataTemplatesDocumentdbtfMainTf, "templates/document-db-tf/main.tf", ) } -func templatesDocumentDbTfMainTf() (*asset, error) { - bytes, err := templatesDocumentDbTfMainTfBytes() +func bindataTemplatesDocumentdbtfMainTf() (*asset, error) { + bytes, err := bindataTemplatesDocumentdbtfMainTfBytes() if err != nil { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4469, mode: os.FileMode(0644), modTime: time.Unix(1654067378, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x58, 0xb5, 0x9e, 0x4b, 0xa0, 0xb8, 0x16, 0x1d, 0x94, 0xb8, 0xa, 0x94, 0xc9, 0x25, 0x9, 0xd3, 0x99, 0x44, 0x6d, 0x65, 0x1e, 0xd2, 0x1b, 0x21, 0x70, 0xf6, 0x8b, 0x59, 0x3e, 0x4c, 0xd4, 0x7b}} + info := bindataFileInfo{ + name: "templates/document-db-tf/main.tf", + size: 4469, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1659083801, 0), + } + + a := &asset{bytes: bytes, info: info} + return a, nil } -var _templatesElasticCacheTfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x53\xc1\x8e\xd3\x30\x14\xbc\xfb\x2b\x06\x13\x29\x70\x48\x22\x71\x45\x3d\xac\x04\x9c\x11\x17\x0e\x20\x55\xc6\x7e\x6d\xad\x0d\xb6\xf5\xec\xd2\xad\x52\xff\x3b\x72\x68\xdd\x6d\xa9\x8a\xd0\xde\x92\x99\x79\x33\xf3\x1c\xe7\xf5\xab\xe1\x87\x75\x43\xdc\x08\x11\x29\xa1\x23\x21\x94\x31\x36\x59\xef\xd4\xb8\x4c\xc4\xac\x56\x9e\x7f\x2e\x7d\x28\x50\x5c\x48\x29\xc4\x34\xc1\xae\xd0\x3f\xe8\x19\xea\x3f\x8f\xca\x21\x67\x9c\xc5\x6a\x66\x16\xa1\x10\xd3\x04\x1a\x23\x5d\x4c\x7c\xa0\x98\xd8\xef\x6f\xcd\x98\x3f\x54\x1d\xbb\xa5\x51\x21\x8c\x7b\xcc\x12\x67\x90\x73\x69\xd4\x95\x00\xe5\xcc\x55\xad\xeb\xc8\xa2\xbe\xbf\x5f\x33\xdd\xe3\x33\xba\x63\x43\x39\x87\x9e\x56\xf3\xfc\x77\x54\x05\x1e\xe6\xbe\x2f\x4f\x56\xdb\xe4\x3b\x15\x02\xfb\x5f\x74\x8c\x3f\xee\x2f\xaa\x1c\xd6\xd9\xf4\xec\x75\xe7\xf9\x31\x06\xa5\x09\x91\x46\xd2\xa9\x9c\x5a\xff\xf1\x29\xb1\xfa\x42\xd1\x6f\x59\x53\xec\xbf\x56\x4d\xce\x38\x1c\x70\x6b\xda\xd1\xee\x5f\xa3\x42\x94\x66\xd6\x10\xc7\x45\xf3\xe6\x6c\x52\x51\x1c\xb0\x66\x0a\x68\x99\xd6\x36\x26\xde\xf7\x55\xd4\x5b\x3f\x74\x2d\x0e\x50\xbb\x47\x74\x9f\x20\xbf\x49\xb4\x53\x60\xeb\x12\x9a\x77\xb9\x30\x91\x0c\xda\x38\xf4\xcd\x30\xb4\x6f\xc5\x4c\xad\xd0\x7e\x77\xad\x58\x79\xae\x21\xb0\x0e\x4d\x4d\x7c\x0f\xe3\x05\xa0\x3d\x33\xe9\xb4\x3c\xe1\xe5\xac\x4f\xcf\xc3\xd0\x0d\x1b\x15\x37\x56\x7b\x0e\x59\x0a\x80\xf4\xc6\x43\xd2\x13\xe9\x6d\xb2\x6e\x7d\x86\xce\x2b\xc5\xa4\x12\x81\x29\x8c\x4a\x53\x57\xb3\x2f\xbe\xd0\xb9\x06\x9a\xeb\x02\xc5\xf3\x3f\xdd\x64\xb5\x93\x90\x37\x0c\x8d\x77\x74\x71\x2a\xcf\x2f\x45\x73\xfd\x0f\x01\xcd\xbd\xcb\x26\x7e\x07\x00\x00\xff\xff\x13\x25\x38\x58\x17\x04\x00\x00") +var _bindataTemplatesDynamodbtfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x91\xc1\x4e\xf3\x30\x10\x84\xef\x7e\x8a\xfd\xf3\xe7\x9a\xf4\x09\x7a\xa8\x04\x77\xc4\x85\x63\xb5\xc4\x5b\x61\x61\x6c\x6b\xd7\xa5\x54\xae\xdf\x1d\xd9\x84\x50\x42\x14\x0e\x1c\xb3\x33\xa3\x6f\x26\xfe\xff\x6f\xf3\x68\xdc\x46\x9e\x94\x12\x8a\xd0\x91\x52\xa8\xb5\x89\xc6\x3b\xb4\xfb\x48\xcc\x78\xf0\xfc\xb2\xf7\xa1\x9c\x64\xdb\x34\x4a\xa5\x04\xe6\x00\xfd\x6e\xa8\xa7\xfe\xce\xa2\x83\x9c\xe1\xcb\x8c\x55\xd9\x86\x22\xa4\x04\x64\x85\xbe\x25\x6e\x48\x22\xfb\xf3\x52\x46\x7f\x48\x53\x6c\xc9\x83\x21\xd8\x33\x54\x8b\xd3\x90\x73\x69\xd4\x15\x00\x3a\x3d\xab\x35\x47\x16\xf7\xfa\xbe\x36\xad\xe9\x19\xba\xb1\x61\x53\xa1\x9f\xd3\x3c\xff\x44\x4d\x87\x5d\xed\xfb\x77\x32\x1e\xa3\xef\x30\x04\xf6\xaf\x34\xe2\xc7\xfd\x6a\xb2\x83\x71\x26\x5e\x7d\x9e\x3c\x3f\x4b\xc0\x81\x40\xc8\xd2\x10\xcb\x5f\xeb\x6f\xdf\x22\xe3\x3d\x89\x3f\xf2\x40\xd2\x3f\x4c\x9e\x9c\xe1\x72\x81\xa5\xb4\xa3\xd3\x6f\xd1\x2b\x6a\x3b\x7f\x33\x68\xd7\xb6\xa9\xf7\x00\x00\x00\xff\xff\x94\xee\x51\xe2\x86\x02\x00\x00") -func templatesElasticCacheTfDeployShBytes() ([]byte, error) { +func bindataTemplatesDynamodbtfDeployShBytes() ([]byte, error) { return bindataRead( - _templatesElasticCacheTfDeploySh, + _bindataTemplatesDynamodbtfDeploySh, + "templates/dynamo-db-tf/deploy.sh", + ) +} + +func bindataTemplatesDynamodbtfDeploySh() (*asset, error) { + bytes, err := bindataTemplatesDynamodbtfDeployShBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{ + name: "templates/dynamo-db-tf/deploy.sh", + size: 646, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1660806012, 0), + } + + a := &asset{bytes: bytes, info: info} + + return a, nil +} + +var _bindataTemplatesDynamodbtfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x91\x41\x8f\xd3\x30\x10\x85\xef\xf9\x15\xa3\xdc\x9d\x15\xe2\x86\xb4\x12\x07\xf6\x00\x07\x40\xa8\xe2\x5a\x39\xf6\x24\xb5\x62\x7b\x8a\x3d\xee\x6e\xd5\xcd\x7f\x47\xb6\x29\x24\x4d\x25\xb4\xbe\x65\xf4\xcd\x9b\xf7\x5e\x18\x43\x90\x03\x05\x07\x97\x06\xa0\x97\x6a\x42\xaf\xa1\x8d\xef\xdb\x32\x00\xe8\x93\x9a\x90\x61\xfd\x1e\xa1\xf5\xf2\x64\x44\x2f\xfd\x24\xfe\x4a\x08\x45\xce\x49\xaf\x45\x64\xc9\xd8\x96\xf5\x80\xa3\x21\xbf\x5d\x97\x47\x11\x29\xf1\x41\xbc\xab\xdc\x84\x67\xd8\xbc\x47\x68\xf5\xd9\x4b\x47\xba\xaf\xd4\x33\x85\x29\x1e\xa5\xc2\xfd\x84\xe7\xfd\x31\xe0\x60\x5e\x96\x54\xbd\x1c\x1f\x2e\x17\xe8\x3e\xfb\x21\xc8\x9f\x18\xd8\x28\x69\x61\x9e\xcb\xf0\xe9\x85\x83\xfc\x81\x91\x52\x50\x18\xbb\x27\x7f\x32\x81\xbc\x43\xcf\x57\xe2\xab\x74\x08\xf3\x5c\xef\x1d\x03\x0d\xc6\xe2\xc6\x95\x72\xba\x02\x52\xd9\xbb\xb6\x6b\x6b\x82\x9e\x3d\x06\x31\x24\x6b\x85\x22\xcf\x81\x6c\x5e\x9b\x9b\xb9\x69\x1c\xe9\x64\x71\x11\xb0\xf4\x5d\x8d\x2d\x84\x46\xc3\x1f\x47\xc3\x87\xd4\x77\xca\xe9\xae\xb4\xce\xa8\x0e\x9d\xf1\x1f\xca\x87\xc9\x31\x1f\xaa\x8a\xd0\xbd\xa8\xba\xdd\x68\x38\x9f\xc2\x45\xc0\xac\xf7\x9f\x0e\x5e\xe1\x57\x22\xce\xf9\x1b\x80\xa2\xbc\x3f\x5d\x1b\xac\xcb\xeb\x56\x57\x3c\xcb\x31\x66\xaa\x14\xb3\x43\xe9\xfe\xc5\xc8\x9b\x79\x52\xdb\x5d\x6d\x01\x7c\xcb\x25\x6d\xd1\x3a\xbe\x61\xbf\x07\xd2\x49\xf1\x2d\x7b\x1d\xdf\xd0\xcb\x68\x6f\xcb\x0e\x50\x9c\xae\x5c\x2d\xbd\x17\xa8\x86\xee\x2d\xc6\xfb\xea\x9f\xfe\xfc\xda\x6e\x57\xa1\x57\x70\x29\xf2\x8e\xbe\x44\xf2\xf9\xcc\xfc\x3b\x00\x00\xff\xff\x68\xc6\x27\x11\x7d\x03\x00\x00") + +func bindataTemplatesDynamodbtfMainTfBytes() ([]byte, error) { + return bindataRead( + _bindataTemplatesDynamodbtfMainTf, + "templates/dynamo-db-tf/main.tf", + ) +} + +func bindataTemplatesDynamodbtfMainTf() (*asset, error) { + bytes, err := bindataTemplatesDynamodbtfMainTfBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{ + name: "templates/dynamo-db-tf/main.tf", + size: 893, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1660749810, 0), + } + + a := &asset{bytes: bytes, info: info} + + return a, nil +} + +var _bindataTemplatesElasticcachetfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x53\xc1\x8e\xd3\x30\x14\xbc\xfb\x2b\x06\x13\x29\x70\x48\x22\x71\x45\x3d\xac\x04\x9c\x11\x17\x0e\x20\x55\xc6\x7e\x6d\xad\x0d\xb6\xf5\xec\xd2\xad\x52\xff\x3b\x72\x68\xdd\x6d\xa9\x8a\xd0\xde\x92\x99\x79\x33\xf3\x1c\xe7\xf5\xab\xe1\x87\x75\x43\xdc\x08\x11\x29\xa1\x23\x21\x94\x31\x36\x59\xef\xd4\xb8\x4c\xc4\xac\x56\x9e\x7f\x2e\x7d\x28\x50\x5c\x48\x29\xc4\x34\xc1\xae\xd0\x3f\xe8\x19\xea\x3f\x8f\xca\x21\x67\x9c\xc5\x6a\x66\x16\xa1\x10\xd3\x04\x1a\x23\x5d\x4c\x7c\xa0\x98\xd8\xef\x6f\xcd\x98\x3f\x54\x1d\xbb\xa5\x51\x21\x8c\x7b\xcc\x12\x67\x90\x73\x69\xd4\x95\x00\xe5\xcc\x55\xad\xeb\xc8\xa2\xbe\xbf\x5f\x33\xdd\xe3\x33\xba\x63\x43\x39\x87\x9e\x56\xf3\xfc\x77\x54\x05\x1e\xe6\xbe\x2f\x4f\x56\xdb\xe4\x3b\x15\x02\xfb\x5f\x74\x8c\x3f\xee\x2f\xaa\x1c\xd6\xd9\xf4\xec\x75\xe7\xf9\x31\x06\xa5\x09\x91\x46\xd2\xa9\x9c\x5a\xff\xf1\x29\xb1\xfa\x42\xd1\x6f\x59\x53\xec\xbf\x56\x4d\xce\x38\x1c\x70\x6b\xda\xd1\xee\x5f\xa3\x42\x94\x66\xd6\x10\xc7\x45\xf3\xe6\x6c\x52\x51\x1c\xb0\x66\x0a\x68\x99\xd6\x36\x26\xde\xf7\x55\xd4\x5b\x3f\x74\x2d\x0e\x50\xbb\x47\x74\x9f\x20\xbf\x49\xb4\x53\x60\xeb\x12\x9a\x77\xb9\x30\x91\x0c\xda\x38\xf4\xcd\x30\xb4\x6f\xc5\x4c\xad\xd0\x7e\x77\xad\x58\x79\xae\x21\xb0\x0e\x4d\x4d\x7c\x0f\xe3\x05\xa0\x3d\x33\xe9\xb4\x3c\xe1\xe5\xac\x4f\xcf\xc3\xd0\x0d\x1b\x15\x37\x56\x7b\x0e\x59\x0a\x80\xf4\xc6\x43\xd2\x13\xe9\x6d\xb2\x6e\x7d\x86\xce\x2b\xc5\xa4\x12\x81\x29\x8c\x4a\x53\x57\xb3\x2f\xbe\xd0\xb9\x06\x9a\xeb\x02\xc5\xf3\x3f\xdd\x64\xb5\x93\x90\x37\x0c\x8d\x77\x74\x71\x2a\xcf\x2f\x45\x73\xfd\x0f\x01\xcd\xbd\xcb\x26\x7e\x07\x00\x00\xff\xff\x13\x25\x38\x58\x17\x04\x00\x00") + +func bindataTemplatesElasticcachetfDeployShBytes() ([]byte, error) { + return bindataRead( + _bindataTemplatesElasticcachetfDeploySh, "templates/elastic-cache-tf/deploy.sh", ) } -func templatesElasticCacheTfDeploySh() (*asset, error) { - bytes, err := templatesElasticCacheTfDeployShBytes() +func bindataTemplatesElasticcachetfDeploySh() (*asset, error) { + bytes, err := bindataTemplatesElasticcachetfDeployShBytes() if err != nil { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1652786506, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0x8d, 0x67, 0xb1, 0x4e, 0x5b, 0x3d, 0x79, 0x4b, 0xf, 0x11, 0xb2, 0xe4, 0xd2, 0x80, 0x23, 0x8e, 0x62, 0x89, 0x19, 0xa5, 0x8c, 0x62, 0xbe, 0xe2, 0xfc, 0x4a, 0x4c, 0xc9, 0x92, 0x11, 0x82}} + info := bindataFileInfo{ + name: "templates/elastic-cache-tf/deploy.sh", + size: 1047, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1660806211, 0), + } + + a := &asset{bytes: bytes, info: info} + return a, nil } -var _templatesElasticCacheTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x54\x4d\x6f\xdb\x3a\x10\xbc\xeb\x57\x2c\x7c\x97\x8c\xbc\x77\x0b\x10\xe0\x05\x41\x0e\x39\xbc\xb6\x28\x82\x1e\x7a\x11\xd6\xe4\xca\x26\xcc\x0f\x95\x5c\x3a\x71\x5d\xfd\xf7\x82\xa4\xec\x58\x71\xd3\x38\x29\xaa\x9b\x97\x33\xb3\xcb\x19\xae\x99\xbc\xc7\xce\x79\x03\xbb\x0a\x60\x81\x62\x4d\x56\xc2\x2c\xfc\x3b\xcb\x05\x80\x45\x14\x6b\x62\x98\x7e\x57\x30\xb3\xb8\x51\xf5\x02\xed\xba\x3e\x48\xd4\xc2\x19\x83\x56\xd6\x81\x91\x69\x96\xe9\x9e\x96\xca\xd9\x53\x3a\xf6\x75\x70\x91\x57\xf5\x45\xc1\xad\x69\x0b\x27\xdf\x15\xcc\x48\x63\x60\x25\x6a\x81\x62\x35\x4a\x3e\x38\xbf\x0e\x3d\x0a\x6a\xd7\xb4\x6d\x7b\x4f\x9d\x7a\x3c\x81\x96\x19\xc2\x7c\xb7\x83\xe6\xce\x76\x1e\xbf\x90\x67\x25\x50\xc3\x30\xe4\xe2\xed\x23\x7b\xfc\x4c\xc1\x45\x2f\x28\x34\xb7\x76\xa3\xbc\xb3\x86\x2c\xbf\x84\x28\xf2\x37\x49\xbd\xb9\xb3\x81\xd1\x0a\xfa\x80\x86\x60\x18\xca\x60\xbd\x77\x9d\xd2\x74\x72\x07\x61\x64\x01\xa0\xd0\xbf\xbc\x64\xf1\xb8\x76\x0f\x96\x7c\xdd\x45\xad\x6b\xe1\x2c\x7b\xa7\x13\x6d\xa8\x86\xaa\x32\x4e\x46\x4d\x87\x3b\xb6\xc5\x8e\x1c\x51\x99\xef\x48\x6d\xa9\xf8\xf2\x32\x84\xd5\xe5\x7c\xbe\x54\xfc\xdf\x52\xf1\x2a\x2e\x1a\x61\x64\x93\x33\x63\x12\xab\x46\xd9\x79\xfe\xa1\x92\x35\xf3\xa9\x73\xa5\x57\xb3\x54\x9c\xda\xd3\x91\x31\x49\xfe\x15\xef\x7e\xc0\xb7\xe8\x38\x79\x52\x01\x58\x34\xf4\x14\xd0\x9b\x3c\x9d\xe8\xe4\x29\xdb\xcd\x3e\xc1\x22\x35\x4d\x75\x82\x67\x42\x33\xa2\xee\x09\x4d\xf3\x5c\x31\x41\x70\x19\x12\x24\xe7\x72\xff\x0a\x3e\x61\x3e\xa6\x70\x8e\x41\xa5\xf0\x0c\xf5\xc9\x3b\x19\x05\x1f\xe3\xf6\xa5\x67\xc8\xdb\x3f\xf0\x15\x20\x4f\xf8\x94\x79\x22\x1f\x0f\x9d\x51\xf9\x9e\xd6\x49\x6a\x79\xdb\xd3\x19\x01\x5c\x3f\x84\x7d\x06\x37\x1a\x43\x98\x36\xc5\xbe\xd7\xdb\x56\x19\x43\x52\x21\x93\xde\x9e\xa3\x98\x38\x77\x47\x94\xac\xb4\xdb\xd5\xa0\xba\xdf\x33\xff\x8f\x9a\xd5\xf5\xd7\xb1\x75\x64\x67\x30\xbd\xfb\x0e\x95\x76\x1b\xf2\x2d\x59\x5c\x68\x92\x70\x05\xec\x23\x55\x00\x26\x11\x5a\xfc\x7e\x7a\x62\xa3\x59\x90\x2f\x2b\xd3\x0a\x1d\x03\x93\x4f\xd9\xff\x33\x8e\x42\x3a\xec\xdf\xeb\x0b\xc8\x8b\x3d\xd2\xca\x04\x1c\xaa\xca\x45\xee\x23\x1f\xf6\x31\x13\x3c\xf5\x5a\x09\x64\xe5\x6c\xbb\xf4\x2e\xf6\x6d\xef\x95\x41\xbf\x6d\xc9\xca\xde\x29\xcb\x2d\x4a\xe9\x29\x84\xb2\xb8\x1b\xd4\x91\x0e\x11\x8e\x5b\x37\x59\xf0\xe6\x7d\xf2\x15\x80\xa4\x20\xbc\xea\x13\x38\xfd\x25\xdc\xaf\x08\xc6\x43\x70\x1d\xf0\x8a\x60\x4f\x82\xce\xf9\x5c\x18\xd5\xf2\x8b\x01\x65\x73\xed\xa8\x27\xe4\x9e\xcd\xac\x1a\xaa\x37\xe6\x77\x9e\x57\x9e\x50\xe6\x5c\xff\x8a\x55\x2f\xa8\xbf\xcf\xa9\x22\x76\xa6\x51\xe3\x9b\xf9\x19\x00\x00\xff\xff\x9b\x1d\xee\x29\x68\x07\x00\x00") +var _bindataTemplatesElasticcachetfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x54\x4d\x6f\xdb\x3a\x10\xbc\xeb\x57\x2c\x7c\x97\x8c\xbc\x77\x0b\x10\xe0\x05\x41\x0e\x39\xbc\xb6\x28\x82\x1e\x7a\x11\xd6\xe4\xca\x26\xcc\x0f\x95\x5c\x3a\x71\x5d\xfd\xf7\x82\xa4\xec\x58\x71\xd3\x38\x29\xaa\x9b\x97\x33\xb3\xcb\x19\xae\x99\xbc\xc7\xce\x79\x03\xbb\x0a\x60\x81\x62\x4d\x56\xc2\x2c\xfc\x3b\xcb\x05\x80\x45\x14\x6b\x62\x98\x7e\x57\x30\xb3\xb8\x51\xf5\x02\xed\xba\x3e\x48\xd4\xc2\x19\x83\x56\xd6\x81\x91\x69\x96\xe9\x9e\x96\xca\xd9\x53\x3a\xf6\x75\x70\x91\x57\xf5\x45\xc1\xad\x69\x0b\x27\xdf\x15\xcc\x48\x63\x60\x25\x6a\x81\x62\x35\x4a\x3e\x38\xbf\x0e\x3d\x0a\x6a\xd7\xb4\x6d\x7b\x4f\x9d\x7a\x3c\x81\x96\x19\xc2\x7c\xb7\x83\xe6\xce\x76\x1e\xbf\x90\x67\x25\x50\xc3\x30\xe4\xe2\xed\x23\x7b\xfc\x4c\xc1\x45\x2f\x28\x34\xb7\x76\xa3\xbc\xb3\x86\x2c\xbf\x84\x28\xf2\x37\x49\xbd\xb9\xb3\x81\xd1\x0a\xfa\x80\x86\x60\x18\xca\x60\xbd\x77\x9d\xd2\x74\x72\x07\x61\x64\x01\xa0\xd0\xbf\xbc\x64\xf1\xb8\x76\x0f\x96\x7c\xdd\x45\xad\x6b\xe1\x2c\x7b\xa7\x13\x6d\xa8\x86\xaa\x32\x4e\x46\x4d\x87\x3b\xb6\xc5\x8e\x1c\x51\x99\xef\x48\x6d\xa9\xf8\xf2\x32\x84\xd5\xe5\x7c\xbe\x54\xfc\xdf\x52\xf1\x2a\x2e\x1a\x61\x64\x93\x33\x63\x12\xab\x46\xd9\x79\xfe\xa1\x92\x35\xf3\xa9\x73\xa5\x57\xb3\x54\x9c\xda\xd3\x91\x31\x49\xfe\x15\xef\x7e\xc0\xb7\xe8\x38\x79\x52\x01\x58\x34\xf4\x14\xd0\x9b\x3c\x9d\xe8\xe4\x29\xdb\xcd\x3e\xc1\x22\x35\x4d\x75\x82\x67\x42\x33\xa2\xee\x09\x4d\xf3\x5c\x31\x41\x70\x19\x12\x24\xe7\x72\xff\x0a\x3e\x61\x3e\xa6\x70\x8e\x41\xa5\xf0\x0c\xf5\xc9\x3b\x19\x05\x1f\xe3\xf6\xa5\x67\xc8\xdb\x3f\xf0\x15\x20\x4f\xf8\x94\x79\x22\x1f\x0f\x9d\x51\xf9\x9e\xd6\x49\x6a\x79\xdb\xd3\x19\x01\x5c\x3f\x84\x7d\x06\x37\x1a\x43\x98\x36\xc5\xbe\xd7\xdb\x56\x19\x43\x52\x21\x93\xde\x9e\xa3\x98\x38\x77\x47\x94\xac\xb4\xdb\xd5\xa0\xba\xdf\x33\xff\x8f\x9a\xd5\xf5\xd7\xb1\x75\x64\x67\x30\xbd\xfb\x0e\x95\x76\x1b\xf2\x2d\x59\x5c\x68\x92\x70\x05\xec\x23\x55\x00\x26\x11\x5a\xfc\x7e\x7a\x62\xa3\x59\x90\x2f\x2b\xd3\x0a\x1d\x03\x93\x4f\xd9\xff\x33\x8e\x42\x3a\xec\xdf\xeb\x0b\xc8\x8b\x3d\xd2\xca\x04\x1c\xaa\xca\x45\xee\x23\x1f\xf6\x31\x13\x3c\xf5\x5a\x09\x64\xe5\x6c\xbb\xf4\x2e\xf6\x6d\xef\x95\x41\xbf\x6d\xc9\xca\xde\x29\xcb\x2d\x4a\xe9\x29\x84\xb2\xb8\x1b\xd4\x91\x0e\x11\x8e\x5b\x37\x59\xf0\xe6\x7d\xf2\x15\x80\xa4\x20\xbc\xea\x13\x38\xfd\x25\xdc\xaf\x08\xc6\x43\x70\x1d\xf0\x8a\x60\x4f\x82\xce\xf9\x5c\x18\xd5\xf2\x8b\x01\x65\x73\xed\xa8\x27\xe4\x9e\xcd\xac\x1a\xaa\x37\xe6\x77\x9e\x57\x9e\x50\xe6\x5c\xff\x8a\x55\x2f\xa8\xbf\xcf\xa9\x22\x76\xa6\x51\xe3\x9b\xf9\x19\x00\x00\xff\xff\x9b\x1d\xee\x29\x68\x07\x00\x00") -func templatesElasticCacheTfMainTfBytes() ([]byte, error) { +func bindataTemplatesElasticcachetfMainTfBytes() ([]byte, error) { return bindataRead( - _templatesElasticCacheTfMainTf, + _bindataTemplatesElasticcachetfMainTf, "templates/elastic-cache-tf/main.tf", ) } -func templatesElasticCacheTfMainTf() (*asset, error) { - bytes, err := templatesElasticCacheTfMainTfBytes() +func bindataTemplatesElasticcachetfMainTf() (*asset, error) { + bytes, err := bindataTemplatesElasticcachetfMainTfBytes() if err != nil { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 1896, mode: os.FileMode(0644), modTime: time.Unix(1652786506, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xed, 0x1a, 0x44, 0xc9, 0xa6, 0x97, 0x14, 0x98, 0x18, 0x1e, 0xa5, 0x3, 0xc4, 0xdf, 0xed, 0xf7, 0xfa, 0xc5, 0x4d, 0xfb, 0xbe, 0xb, 0xf, 0xe7, 0x42, 0xbd, 0xca, 0xbf, 0x37, 0xd, 0xca, 0xf9}} + info := bindataFileInfo{ + name: "templates/elastic-cache-tf/main.tf", + size: 1896, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1659083801, 0), + } + + a := &asset{bytes: bytes, info: info} + return a, nil } -var _templatesRdsTfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x54\xc1\x6e\xdb\x30\x0c\xbd\xeb\x2b\x38\xd7\xa8\xb7\x83\x6d\x60\xd7\x22\x87\x02\xdd\xce\x43\x2f\x3b\x6c\x80\xc1\x48\x4c\x22\xd4\x91\x34\x91\x69\x1a\x24\xfe\xf7\xc1\xae\xe3\x34\x6e\x90\xb5\x5b\x0b\xec\x26\x93\x8f\x7c\x24\xcd\xc7\x8b\x0f\xe5\xd4\xba\x92\x17\x4a\x31\x09\xe4\xa4\x14\x1a\x63\xc5\x7a\x87\x75\x25\x14\x23\xce\x7c\x5c\x56\x3e\xb4\x26\x9e\x24\x89\x52\xdb\x2d\xd8\x19\x14\xd7\xba\x33\x15\xdf\x6a\x74\xd0\x34\x70\x00\x63\xe7\x99\x84\xd6\xb1\xdd\x02\xd5\x4c\x47\x11\x37\xc4\x12\xfd\xe6\x54\x8c\x79\x74\x0d\x61\xa7\x30\x18\x42\xbd\x81\x0e\xe2\x0c\x34\x4d\x5b\x51\xde\x12\xa0\x33\xa3\xb2\xc6\x94\x2d\xfa\x7c\x7f\xe9\xf6\x9c\xbf\x81\xbc\xaf\x30\xe9\x48\xf7\xad\xf9\xf8\x9c\x6a\x30\x5c\x77\xf5\xfe\x3b\x33\xae\xc4\xe7\x18\x42\xf4\xf7\xd4\xd3\xf7\xfd\xab\x01\x0e\xd6\x59\x79\xf2\xb9\xf6\xf1\x8e\x03\x6a\x02\xa6\x9a\xb4\xb4\x53\x2b\xbe\x3c\x48\xc4\x5b\x62\xbf\x8a\x9a\xb8\xf8\x3e\x60\x9a\x06\x76\x3b\x38\x15\xed\x68\xfd\xa7\x50\xa5\xda\xca\xac\xa1\xc8\x93\xf4\xe3\x21\xc9\x60\x85\x1d\xcc\x23\x05\xc8\x22\xcd\x2d\x4b\xdc\x14\x03\xa8\xb0\xbe\xcc\x33\xd8\x01\xae\xef\x20\xff\x0a\xc9\x8f\x04\xb2\x6d\x88\xd6\x09\xa4\x9f\x9b\xd6\xc3\x64\x20\xe3\xb2\x48\xcb\x32\xfb\xa4\x3a\xd7\x0c\xb2\x9f\x2e\x53\x33\x1f\x07\x12\xb0\x0e\xd2\x81\xf1\x0a\x8c\x57\xed\xff\x21\xbd\xf0\x90\x0c\x8e\x64\x5f\x4a\xfe\x0b\x92\xe0\x59\xe6\x91\x38\xb9\x02\x59\x90\x53\x00\xa0\x7d\x8c\xa4\xa5\xda\xe3\xdb\x9f\xb3\x7f\x97\x65\x5e\xea\x4d\xb4\xf5\xdc\xb8\x26\x51\xdd\x0a\xbc\x24\x66\x81\xbc\xb0\xda\xc7\xd0\x06\xcd\xac\xea\x6b\xa2\x07\xd2\x2b\xb1\x6e\x9e\xec\x2d\x87\xc9\xb1\xa0\x10\x44\x0a\x35\x6a\xca\x87\x16\x8f\x16\xe1\xd0\x2d\xa4\xe3\x12\x12\x05\xaf\x4c\xf6\x74\x44\xc9\x89\x7c\xc6\x3b\x3a\x9a\xfd\xa0\xbd\xf1\x39\x78\xb2\x83\xe9\x58\xc1\x90\x0b\xc6\x39\xc9\x64\xe9\xcd\xaa\xa6\x22\x1a\x2e\x0e\xcf\xca\x3a\x16\x74\x9a\xe0\x14\xce\xa0\x60\x81\x6b\xae\x78\x35\x75\x24\x95\x35\x5c\x68\xbf\x5c\xa2\x33\x55\x88\xf6\x1e\x85\x7a\x17\x43\x7a\x4e\x50\x43\xe1\xa3\x95\xbe\x41\xc1\x29\x32\x15\xb7\x84\xe6\x96\x42\x6d\x35\xbe\x4d\x3f\x55\xec\xb3\xbd\x7b\x5b\xfd\x5d\x78\xfd\x85\xba\x80\x48\xcb\x76\x11\x1e\xb3\xc1\x3c\xfa\x55\x80\x59\xf4\xcb\x67\x9b\x84\x7c\x0c\xc2\x60\xc1\x72\x1f\x6f\x60\xba\x01\x5c\x33\x74\xda\xec\x05\xd6\xdd\xe7\x35\x81\x46\x97\x09\x18\xaa\x49\x46\x44\xc8\x60\x85\x61\xc5\x8f\x09\xd8\x61\xe0\x85\x97\x42\x8d\xc9\x6b\xcb\x32\x9c\x93\xf3\x53\xdf\xdb\xcc\xf4\xf0\xea\x87\x55\x75\xac\xdd\xd8\xc7\x36\x59\x58\xce\xe0\xf2\xf2\xb9\x80\x96\xef\x48\xa8\x5e\xbb\x65\x6f\xb7\x36\x6f\x20\xd7\xff\x55\x6e\x2f\xd6\xcb\xdf\x71\xee\xd7\xbb\x32\xd3\x97\x53\xfd\x0e\x00\x00\xff\xff\x21\x87\x9e\x81\x78\x09\x00\x00") +var _bindataTemplatesRdstfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x54\xc1\x6e\xdb\x30\x0c\xbd\xeb\x2b\x38\xd7\xa8\xb7\x83\x6d\x60\xd7\x22\x87\x02\xdd\xce\x43\x2f\x3b\x6c\x80\xc1\x48\x4c\x22\xd4\x91\x34\x91\x69\x1a\x24\xfe\xf7\xc1\xae\xe3\x34\x6e\x90\xb5\x5b\x0b\xec\x26\x93\x8f\x7c\x24\xcd\xc7\x8b\x0f\xe5\xd4\xba\x92\x17\x4a\x31\x09\xe4\xa4\x14\x1a\x63\xc5\x7a\x87\x75\x25\x14\x23\xce\x7c\x5c\x56\x3e\xb4\x26\x9e\x24\x89\x52\xdb\x2d\xd8\x19\x14\xd7\xba\x33\x15\xdf\x6a\x74\xd0\x34\x70\x00\x63\xe7\x99\x84\xd6\xb1\xdd\x02\xd5\x4c\x47\x11\x37\xc4\x12\xfd\xe6\x54\x8c\x79\x74\x0d\x61\xa7\x30\x18\x42\xbd\x81\x0e\xe2\x0c\x34\x4d\x5b\x51\xde\x12\xa0\x33\xa3\xb2\xc6\x94\x2d\xfa\x7c\x7f\xe9\xf6\x9c\xbf\x81\xbc\xaf\x30\xe9\x48\xf7\xad\xf9\xf8\x9c\x6a\x30\x5c\x77\xf5\xfe\x3b\x33\xae\xc4\xe7\x18\x42\xf4\xf7\xd4\xd3\xf7\xfd\xab\x01\x0e\xd6\x59\x79\xf2\xb9\xf6\xf1\x8e\x03\x6a\x02\xa6\x9a\xb4\xb4\x53\x2b\xbe\x3c\x48\xc4\x5b\x62\xbf\x8a\x9a\xb8\xf8\x3e\x60\x9a\x06\x76\x3b\x38\x15\xed\x68\xfd\xa7\x50\xa5\xda\xca\xac\xa1\xc8\x93\xf4\xe3\x21\xc9\x60\x85\x1d\xcc\x23\x05\xc8\x22\xcd\x2d\x4b\xdc\x14\x03\xa8\xb0\xbe\xcc\x33\xd8\x01\xae\xef\x20\xff\x0a\xc9\x8f\x04\xb2\x6d\x88\xd6\x09\xa4\x9f\x9b\xd6\xc3\x64\x20\xe3\xb2\x48\xcb\x32\xfb\xa4\x3a\xd7\x0c\xb2\x9f\x2e\x53\x33\x1f\x07\x12\xb0\x0e\xd2\x81\xf1\x0a\x8c\x57\xed\xff\x21\xbd\xf0\x90\x0c\x8e\x64\x5f\x4a\xfe\x0b\x92\xe0\x59\xe6\x91\x38\xb9\x02\x59\x90\x53\x00\xa0\x7d\x8c\xa4\xa5\xda\xe3\xdb\x9f\xb3\x7f\x97\x65\x5e\xea\x4d\xb4\xf5\xdc\xb8\x26\x51\xdd\x0a\xbc\x24\x66\x81\xbc\xb0\xda\xc7\xd0\x06\xcd\xac\xea\x6b\xa2\x07\xd2\x2b\xb1\x6e\x9e\xec\x2d\x87\xc9\xb1\xa0\x10\x44\x0a\x35\x6a\xca\x87\x16\x8f\x16\xe1\xd0\x2d\xa4\xe3\x12\x12\x05\xaf\x4c\xf6\x74\x44\xc9\x89\x7c\xc6\x3b\x3a\x9a\xfd\xa0\xbd\xf1\x39\x78\xb2\x83\xe9\x58\xc1\x90\x0b\xc6\x39\xc9\x64\xe9\xcd\xaa\xa6\x22\x1a\x2e\x0e\xcf\xca\x3a\x16\x74\x9a\xe0\x14\xce\xa0\x60\x81\x6b\xae\x78\x35\x75\x24\x95\x35\x5c\x68\xbf\x5c\xa2\x33\x55\x88\xf6\x1e\x85\x7a\x17\x43\x7a\x4e\x50\x43\xe1\xa3\x95\xbe\x41\xc1\x29\x32\x15\xb7\x84\xe6\x96\x42\x6d\x35\xbe\x4d\x3f\x55\xec\xb3\xbd\x7b\x5b\xfd\x5d\x78\xfd\x85\xba\x80\x48\xcb\x76\x11\x1e\xb3\xc1\x3c\xfa\x55\x80\x59\xf4\xcb\x67\x9b\x84\x7c\x0c\xc2\x60\xc1\x72\x1f\x6f\x60\xba\x01\x5c\x33\x74\xda\xec\x05\xd6\xdd\xe7\x35\x81\x46\x97\x09\x18\xaa\x49\x46\x44\xc8\x60\x85\x61\xc5\x8f\x09\xd8\x61\xe0\x85\x97\x42\x8d\xc9\x6b\xcb\x32\x9c\x93\xf3\x53\xdf\xdb\xcc\xf4\xf0\xea\x87\x55\x75\xac\xdd\xd8\xc7\x36\x59\x58\xce\xe0\xf2\xf2\xb9\x80\x96\xef\x48\xa8\x5e\xbb\x65\x6f\xb7\x36\x6f\x20\xd7\xff\x55\x6e\x2f\xd6\xcb\xdf\x71\xee\xd7\xbb\x32\xd3\x97\x53\xfd\x0e\x00\x00\xff\xff\x21\x87\x9e\x81\x78\x09\x00\x00") -func templatesRdsTfDeployShBytes() ([]byte, error) { +func bindataTemplatesRdstfDeployShBytes() ([]byte, error) { return bindataRead( - _templatesRdsTfDeploySh, + _bindataTemplatesRdstfDeploySh, "templates/rds-tf/deploy.sh", ) } -func templatesRdsTfDeploySh() (*asset, error) { - bytes, err := templatesRdsTfDeployShBytes() +func bindataTemplatesRdstfDeploySh() (*asset, error) { + bytes, err := bindataTemplatesRdstfDeployShBytes() if err != nil { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 2424, mode: os.FileMode(0644), modTime: time.Unix(1652786506, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x26, 0x2b, 0x81, 0x6c, 0x2, 0xc6, 0xdc, 0x39, 0xf0, 0x72, 0x8e, 0xd9, 0xb4, 0xb6, 0x50, 0x2, 0x7c, 0x90, 0x6a, 0x8a, 0xd5, 0x98, 0x3f, 0x28, 0x9e, 0x7f, 0x18, 0x3f, 0xb, 0x6c, 0x3b}} + info := bindataFileInfo{ + name: "templates/rds-tf/deploy.sh", + size: 2424, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1659083801, 0), + } + + a := &asset{bytes: bytes, info: info} + return a, nil } -var _templatesRdsTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x59\x6d\x6f\xdb\x36\x10\xfe\xae\x5f\x41\xe8\xf3\xec\xb4\x08\x8a\x01\x05\x02\x2c\x89\xdd\xc1\x6b\xd3\x65\x6d\xda\x01\x1b\x06\x82\xa2\xce\x32\x61\x8a\x54\x48\x2a\x8e\x93\xfa\xbf\x0f\x14\xf5\x6a\xc9\x91\x5d\x29\x06\x02\xc4\xa7\xbb\xe7\x9e\x3b\xdd\x0b\x2d\x19\x50\x8a\x2c\xa5\x8a\xd1\xb3\x87\x50\x40\xe8\x1a\x44\x88\x7c\x7d\xee\x67\x02\x84\x82\x94\xae\xc1\xa0\xe6\xe7\x02\xf9\x82\x3c\xb0\x49\x40\xc4\x7a\x52\x42\x4c\xa8\x8c\x63\x22\xc2\x89\x36\xc4\x80\x9f\x99\x2b\x88\x98\x14\x6d\x73\x92\x4c\xb4\x4c\xcd\x6a\xf2\xd6\xe9\xad\x61\x8b\x5a\x9f\x0b\xe4\xab\x50\x3b\x85\xe7\xe7\x09\x62\x4b\x04\xf7\x68\xba\x10\x4b\x45\xbe\x83\x32\x8c\x12\x8e\x7c\x0e\x22\x64\x22\xf2\xd1\x6e\x97\x69\x6e\xa4\x5a\xeb\x84\x50\xc0\x6b\xd8\xe2\x44\xc1\x92\x3d\xe6\x50\x8e\x99\x3e\x7b\x7e\x46\xd3\xf9\xa3\x51\xe4\x0b\x68\x99\x2a\x0a\x7a\x3a\x23\x86\x04\x44\xc3\x74\x21\xb4\x21\x82\xc2\x67\x12\x03\xda\xed\x2a\xef\xc0\x35\x9c\xe6\xa2\x49\x74\xb7\xeb\xf2\x3b\x17\x0f\x4c\x49\x11\x83\x30\x07\x34\x8e\x60\x26\xc2\x9c\x58\xa2\xe4\x92\x71\x68\xa5\x91\xc6\xa1\x53\x27\x94\x77\xe6\xd9\xdd\xe6\x89\xdc\x08\x50\x93\x65\xca\xf9\x84\x4a\x61\x94\xe4\xd6\x6c\xe7\xed\x3c\x2f\x96\x61\xca\xc1\xdd\x91\xac\x36\x1c\xbf\x1a\x46\xc4\xcc\xfb\xf7\x5a\xaf\xde\x9f\x9d\x45\xcc\xfc\x16\x31\xb3\x4a\x83\x29\x8d\xc3\x69\x56\x2c\x06\xe8\x6a\xca\xc4\x59\xf6\x85\xd9\xd4\x9c\xa9\x50\x4f\x23\x66\xac\x0f\xa8\xe5\xc1\xa2\xf5\xa4\xea\x07\xba\x4f\xa5\x01\x77\xcf\x59\x9e\x18\x2c\x6c\x66\x3a\x6d\xbb\x93\xd8\x40\x49\x88\xd6\x1b\xa9\xc2\x22\x9e\x97\x50\x6e\x0b\xdd\x06\x42\xaa\x41\xd5\xb3\xfa\x12\xc2\x37\xab\xdb\xb0\xce\xc8\xef\x59\xb7\x59\x66\x89\xc3\x0f\x45\x51\x39\xb5\x66\xa1\xd5\xf4\x3d\x84\x62\x29\x98\x91\x8a\x89\x08\x9f\x12\xe1\x4d\x69\xd6\x1d\x6b\x0d\xb6\x0a\xfb\x58\xc8\xfd\xe0\x3d\x84\xc2\x5c\x4b\x1f\x01\x34\x0b\x6c\x5e\x34\xfa\x81\xe2\x54\x9b\x3b\xf9\x87\x96\xc2\xb1\x2a\x50\xb0\x21\x91\xb6\x28\x59\xd1\xdf\x01\x89\x73\x48\xfb\x6f\x47\x56\x11\xfa\xd3\x56\x7e\x5d\xc9\x09\xf6\xb4\x6e\x95\x0c\x53\x6a\xea\x7a\x85\x68\x4f\x73\x3e\xa0\x9e\x11\xfa\x5c\xaf\x85\x76\x29\x64\x5a\xf6\xcf\xf4\x44\xe6\x95\x83\xf3\x60\x32\xbf\xb2\x27\x58\x88\xdf\x03\xe7\x5a\xb3\xa7\xbe\x0e\x6a\x1a\x14\x93\xb1\x61\xfe\xee\x8d\x57\x4e\xa6\x23\x69\xdc\x90\xc7\x4b\xce\x25\x25\x06\xc2\xaf\x46\x2a\x12\x15\x85\x46\x1e\x31\x29\xae\x60\x9d\x5f\xea\xa9\xb4\x43\x60\xa7\x71\x9a\x05\xf3\x47\x03\x42\x33\x29\x74\x5e\x5f\x01\x86\x4a\xd4\x57\xa5\x35\xeb\x76\xa9\x9e\x46\xe5\x0b\x90\x50\x0a\xbe\xcd\x3a\x27\xb3\x57\xb9\xc4\xb5\xdf\xcb\x54\x1a\xd6\xaf\x48\xa5\x1c\x30\xc7\xd1\xa9\x4d\x96\x61\x94\x6e\x41\xd9\x03\x88\x9d\xeb\x0b\xa1\x59\xb4\x32\x7a\x2e\x48\xc0\x21\xcc\x47\x7b\x75\x1d\xb3\x5c\x01\x43\xae\xd1\x33\xe9\x0f\x43\x0f\x65\x7d\xb9\xd1\xc5\x36\xba\xe6\x44\xe7\x25\x46\x36\x1a\x97\x0b\x8d\x66\xf2\x97\x19\xb6\x60\x1a\xb3\xe4\x34\x4a\x57\x84\xae\xd3\x64\xc6\x74\x2d\x79\x41\x26\xc3\x0a\x0c\x08\xc3\xa4\xc0\x09\x28\x26\x6d\xde\xde\xb4\xfa\xff\xb0\xee\xaf\x87\xb8\x08\x69\x5e\x68\xe4\x94\x1b\x76\xf9\x4f\x93\x50\x6c\x85\x98\x3c\xa1\x0b\x64\x54\x0a\xa7\x57\x8b\xbe\xe7\x1f\x48\xcc\xf8\x36\xaf\x0e\x7d\xcf\xf1\xd2\x09\x7a\x8a\xa1\xb2\x6c\x27\xb9\x4c\x42\xc9\x20\x3b\xad\xbe\x84\x35\x17\x11\x13\xf0\x1d\x94\x1d\x12\xc8\x7f\x7b\xee\x77\x31\xf2\x13\xa9\x4d\xa4\x40\xbf\x3d\x6f\x9c\xf9\x7e\xaa\x53\x5a\x5e\x2b\x87\x90\xc9\xed\xd9\x22\xbb\xd0\x9f\x8a\x26\xd0\x80\xb2\xb3\x03\xe1\x0b\x24\x9c\x51\x52\x4d\x14\xac\x9c\x64\xbf\x1b\x8e\x18\x2e\x39\x56\x57\x6b\xec\xb7\x6c\xc3\xd3\x80\x39\x51\x77\xfb\x9a\x33\x23\x49\xf8\x76\x11\xc7\x10\x32\x62\xa0\xa8\x60\x62\xa5\x98\xd5\xc4\x3d\x23\x63\x1f\x65\xf0\x00\x26\x8a\xc4\x60\x40\xe9\xe2\x2c\x5d\x7e\xbf\x40\xff\x96\x45\xab\x88\x88\xe0\x28\x94\xb2\x93\x3c\x77\x06\xaa\x9d\xec\x5b\x07\x21\xfb\x79\x20\x3c\x2d\x14\xbe\x67\xff\xef\x6b\xb8\x1c\xc5\x60\x56\xd9\x3c\xf2\x13\xf7\xb3\x71\xa2\x20\x90\xd2\xb8\xc6\xda\xfd\xd2\xee\xaf\xff\x4e\xaf\xe6\x50\x5f\x72\x50\xe6\x6e\xa5\x40\xaf\x24\x0f\xf5\x4f\x1b\x4e\xaf\x93\xf4\x9b\x61\x9c\x3d\x11\x53\x36\x2b\x4d\x52\x9c\x56\x42\x4c\x38\x51\x31\x36\x85\x51\x5f\xa1\xf6\x3a\x19\xd2\xc8\x9d\xe0\xd7\x0a\x42\x66\xae\x08\xb7\x1d\x51\xc6\x40\x33\x29\x0e\x9c\x78\x94\x28\x9a\x8e\xc6\x8d\xe3\x2a\x55\xba\x19\x43\x60\x25\xe3\xf1\x6f\x38\x18\x97\xfb\xec\xea\x5a\x0a\x01\xd4\x34\x4e\xb2\xb4\x92\x0d\x67\xdf\x74\x31\x2e\xfd\xbf\x52\x48\x61\x06\x89\x59\x39\xc0\x7b\xfb\x1d\x87\x56\x30\x9c\x78\x0d\x7c\x5c\xd6\x1f\x14\x40\xfe\xe3\xe3\x6b\x42\x28\xdc\x82\xa2\xee\x29\x8f\x87\xd0\x52\x01\x14\x3f\x66\xb0\x7b\x94\x94\xe4\xd7\x4f\x8e\xe0\x90\xa3\xc1\x07\xfd\x6e\x57\x37\x10\x4b\xb5\xbd\x93\xf2\x93\xdc\x2c\xc4\xcd\x55\x15\x90\x5d\x71\x38\xce\x2e\x0f\xb9\x23\x9d\x4e\x5e\x21\x18\xbb\xb2\x3f\x11\x03\x82\x6e\x6b\x67\x01\xee\x24\xc3\x0b\xab\x0e\x3f\x6e\x65\xfd\xad\x98\x81\x06\xf3\x8d\x95\x8c\x47\xbd\xe1\xa0\x87\xfb\xe9\x91\xcc\x52\x45\xca\x49\xf4\x33\x76\x27\x6c\x45\xb0\x07\x03\xd2\xfc\x29\x72\x4c\x32\x0e\xfa\x1a\xe1\x4e\x36\xb0\x4f\xd8\x8d\xa3\xc4\x32\xfa\x8a\xac\xd0\x8f\xdb\x90\xc3\xa3\x18\x7b\x51\x56\xc8\xfd\x7b\x72\x38\xfb\xd1\x17\x65\x05\xdd\xbf\x27\x87\xd3\x1f\x77\x5d\x56\xb8\xa7\x6e\xcb\xb1\xe2\x39\xbc\x3c\x47\x0e\xee\xc8\xb5\x29\x25\xe6\x72\x33\x6a\x78\x1d\xbb\x74\xc4\xd8\x8e\xd9\xa2\xc3\xe3\x18\x79\x99\x56\xc0\xc7\xed\xd2\xe1\x01\xbc\xce\x4a\xcd\x2b\x77\x2e\xa8\xda\x26\xa6\x78\x40\x56\x74\x0a\x94\xe2\x9e\x27\xfa\x9d\x28\xc5\x43\xac\x83\x66\x1f\x63\xfd\x11\xb6\x8b\x5c\x7d\x1d\xeb\xec\x6d\x28\xeb\xf3\x56\x9a\x1d\xca\x42\xeb\xa5\x42\x47\x38\x4b\xc2\xf5\xfe\x93\xbf\x9d\xe7\xc9\xd4\x24\xa9\x41\xbe\x59\x31\x8d\xc3\xa0\x7a\x74\xb4\xbc\x0f\x85\x7b\x6d\x19\x82\xa6\x8a\x25\xc6\x3d\xe2\xf2\x95\x4c\x0d\xbc\x3b\x47\x99\x82\x57\x3c\x48\x28\x5e\xbc\xb8\x97\x9e\x53\x15\xea\x69\x27\xa4\xb7\xf3\xfe\x0f\x00\x00\xff\xff\x58\xe0\x97\xd8\x42\x1f\x00\x00") +var _bindataTemplatesRdstfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x59\x6d\x6f\xdb\x36\x10\xfe\xae\x5f\x41\xe8\xf3\xec\xb4\x08\x8a\x01\x05\x02\x2c\x89\xdd\xc1\x6b\xd3\x65\x6d\xda\x01\x1b\x06\x82\xa2\xce\x32\x61\x8a\x54\x48\x2a\x8e\x93\xfa\xbf\x0f\x14\xf5\x6a\xc9\x91\x5d\x29\x06\x02\xc4\xa7\xbb\xe7\x9e\x3b\xdd\x0b\x2d\x19\x50\x8a\x2c\xa5\x8a\xd1\xb3\x87\x50\x40\xe8\x1a\x44\x88\x7c\x7d\xee\x67\x02\x84\x82\x94\xae\xc1\xa0\xe6\xe7\x02\xf9\x82\x3c\xb0\x49\x40\xc4\x7a\x52\x42\x4c\xa8\x8c\x63\x22\xc2\x89\x36\xc4\x80\x9f\x99\x2b\x88\x98\x14\x6d\x73\x92\x4c\xb4\x4c\xcd\x6a\xf2\xd6\xe9\xad\x61\x8b\x5a\x9f\x0b\xe4\xab\x50\x3b\x85\xe7\xe7\x09\x62\x4b\x04\xf7\x68\xba\x10\x4b\x45\xbe\x83\x32\x8c\x12\x8e\x7c\x0e\x22\x64\x22\xf2\xd1\x6e\x97\x69\x6e\xa4\x5a\xeb\x84\x50\xc0\x6b\xd8\xe2\x44\xc1\x92\x3d\xe6\x50\x8e\x99\x3e\x7b\x7e\x46\xd3\xf9\xa3\x51\xe4\x0b\x68\x99\x2a\x0a\x7a\x3a\x23\x86\x04\x44\xc3\x74\x21\xb4\x21\x82\xc2\x67\x12\x03\xda\xed\x2a\xef\xc0\x35\x9c\xe6\xa2\x49\x74\xb7\xeb\xf2\x3b\x17\x0f\x4c\x49\x11\x83\x30\x07\x34\x8e\x60\x26\xc2\x9c\x58\xa2\xe4\x92\x71\x68\xa5\x91\xc6\xa1\x53\x27\x94\x77\xe6\xd9\xdd\xe6\x89\xdc\x08\x50\x93\x65\xca\xf9\x84\x4a\x61\x94\xe4\xd6\x6c\xe7\xed\x3c\x2f\x96\x61\xca\xc1\xdd\x91\xac\x36\x1c\xbf\x1a\x46\xc4\xcc\xfb\xf7\x5a\xaf\xde\x9f\x9d\x45\xcc\xfc\x16\x31\xb3\x4a\x83\x29\x8d\xc3\x69\x56\x2c\x06\xe8\x6a\xca\xc4\x59\xf6\x85\xd9\xd4\x9c\xa9\x50\x4f\x23\x66\xac\x0f\xa8\xe5\xc1\xa2\xf5\xa4\xea\x07\xba\x4f\xa5\x01\x77\xcf\x59\x9e\x18\x2c\x6c\x66\x3a\x6d\xbb\x93\xd8\x40\x49\x88\xd6\x1b\xa9\xc2\x22\x9e\x97\x50\x6e\x0b\xdd\x06\x42\xaa\x41\xd5\xb3\xfa\x12\xc2\x37\xab\xdb\xb0\xce\xc8\xef\x59\xb7\x59\x66\x89\xc3\x0f\x45\x51\x39\xb5\x66\xa1\xd5\xf4\x3d\x84\x62\x29\x98\x91\x8a\x89\x08\x9f\x12\xe1\x4d\x69\xd6\x1d\x6b\x0d\xb6\x0a\xfb\x58\xc8\xfd\xe0\x3d\x84\xc2\x5c\x4b\x1f\x01\x34\x0b\x6c\x5e\x34\xfa\x81\xe2\x54\x9b\x3b\xf9\x87\x96\xc2\xb1\x2a\x50\xb0\x21\x91\xb6\x28\x59\xd1\xdf\x01\x89\x73\x48\xfb\x6f\x47\x56\x11\xfa\xd3\x56\x7e\x5d\xc9\x09\xf6\xb4\x6e\x95\x0c\x53\x6a\xea\x7a\x85\x68\x4f\x73\x3e\xa0\x9e\x11\xfa\x5c\xaf\x85\x76\x29\x64\x5a\xf6\xcf\xf4\x44\xe6\x95\x83\xf3\x60\x32\xbf\xb2\x27\x58\x88\xdf\x03\xe7\x5a\xb3\xa7\xbe\x0e\x6a\x1a\x14\x93\xb1\x61\xfe\xee\x8d\x57\x4e\xa6\x23\x69\xdc\x90\xc7\x4b\xce\x25\x25\x06\xc2\xaf\x46\x2a\x12\x15\x85\x46\x1e\x31\x29\xae\x60\x9d\x5f\xea\xa9\xb4\x43\x60\xa7\x71\x9a\x05\xf3\x47\x03\x42\x33\x29\x74\x5e\x5f\x01\x86\x4a\xd4\x57\xa5\x35\xeb\x76\xa9\x9e\x46\xe5\x0b\x90\x50\x0a\xbe\xcd\x3a\x27\xb3\x57\xb9\xc4\xb5\xdf\xcb\x54\x1a\xd6\xaf\x48\xa5\x1c\x30\xc7\xd1\xa9\x4d\x96\x61\x94\x6e\x41\xd9\x03\x88\x9d\xeb\x0b\xa1\x59\xb4\x32\x7a\x2e\x48\xc0\x21\xcc\x47\x7b\x75\x1d\xb3\x5c\x01\x43\xae\xd1\x33\xe9\x0f\x43\x0f\x65\x7d\xb9\xd1\xc5\x36\xba\xe6\x44\xe7\x25\x46\x36\x1a\x97\x0b\x8d\x66\xf2\x97\x19\xb6\x60\x1a\xb3\xe4\x34\x4a\x57\x84\xae\xd3\x64\xc6\x74\x2d\x79\x41\x26\xc3\x0a\x0c\x08\xc3\xa4\xc0\x09\x28\x26\x6d\xde\xde\xb4\xfa\xff\xb0\xee\xaf\x87\xb8\x08\x69\x5e\x68\xe4\x94\x1b\x76\xf9\x4f\x93\x50\x6c\x85\x98\x3c\xa1\x0b\x64\x54\x0a\xa7\x57\x8b\xbe\xe7\x1f\x48\xcc\xf8\x36\xaf\x0e\x7d\xcf\xf1\xd2\x09\x7a\x8a\xa1\xb2\x6c\x27\xb9\x4c\x42\xc9\x20\x3b\xad\xbe\x84\x35\x17\x11\x13\xf0\x1d\x94\x1d\x12\xc8\x7f\x7b\xee\x77\x31\xf2\x13\xa9\x4d\xa4\x40\xbf\x3d\x6f\x9c\xf9\x7e\xaa\x53\x5a\x5e\x2b\x87\x90\xc9\xed\xd9\x22\xbb\xd0\x9f\x8a\x26\xd0\x80\xb2\xb3\x03\xe1\x0b\x24\x9c\x51\x52\x4d\x14\xac\x9c\x64\xbf\x1b\x8e\x18\x2e\x39\x56\x57\x6b\xec\xb7\x6c\xc3\xd3\x80\x39\x51\x77\xfb\x9a\x33\x23\x49\xf8\x76\x11\xc7\x10\x32\x62\xa0\xa8\x60\x62\xa5\x98\xd5\xc4\x3d\x23\x63\x1f\x65\xf0\x00\x26\x8a\xc4\x60\x40\xe9\xe2\x2c\x5d\x7e\xbf\x40\xff\x96\x45\xab\x88\x88\xe0\x28\x94\xb2\x93\x3c\x77\x06\xaa\x9d\xec\x5b\x07\x21\xfb\x79\x20\x3c\x2d\x14\xbe\x67\xff\xef\x6b\xb8\x1c\xc5\x60\x56\xd9\x3c\xf2\x13\xf7\xb3\x71\xa2\x20\x90\xd2\xb8\xc6\xda\xfd\xd2\xee\xaf\xff\x4e\xaf\xe6\x50\x5f\x72\x50\xe6\x6e\xa5\x40\xaf\x24\x0f\xf5\x4f\x1b\x4e\xaf\x93\xf4\x9b\x61\x9c\x3d\x11\x53\x36\x2b\x4d\x52\x9c\x56\x42\x4c\x38\x51\x31\x36\x85\x51\x5f\xa1\xf6\x3a\x19\xd2\xc8\x9d\xe0\xd7\x0a\x42\x66\xae\x08\xb7\x1d\x51\xc6\x40\x33\x29\x0e\x9c\x78\x94\x28\x9a\x8e\xc6\x8d\xe3\x2a\x55\xba\x19\x43\x60\x25\xe3\xf1\x6f\x38\x18\x97\xfb\xec\xea\x5a\x0a\x01\xd4\x34\x4e\xb2\xb4\x92\x0d\x67\xdf\x74\x31\x2e\xfd\xbf\x52\x48\x61\x06\x89\x59\x39\xc0\x7b\xfb\x1d\x87\x56\x30\x9c\x78\x0d\x7c\x5c\xd6\x1f\x14\x40\xfe\xe3\xe3\x6b\x42\x28\xdc\x82\xa2\xee\x29\x8f\x87\xd0\x52\x01\x14\x3f\x66\xb0\x7b\x94\x94\xe4\xd7\x4f\x8e\xe0\x90\xa3\xc1\x07\xfd\x6e\x57\x37\x10\x4b\xb5\xbd\x93\xf2\x93\xdc\x2c\xc4\xcd\x55\x15\x90\x5d\x71\x38\xce\x2e\x0f\xb9\x23\x9d\x4e\x5e\x21\x18\xbb\xb2\x3f\x11\x03\x82\x6e\x6b\x67\x01\xee\x24\xc3\x0b\xab\x0e\x3f\x6e\x65\xfd\xad\x98\x81\x06\xf3\x8d\x95\x8c\x47\xbd\xe1\xa0\x87\xfb\xe9\x91\xcc\x52\x45\xca\x49\xf4\x33\x76\x27\x6c\x45\xb0\x07\x03\xd2\xfc\x29\x72\x4c\x32\x0e\xfa\x1a\xe1\x4e\x36\xb0\x4f\xd8\x8d\xa3\xc4\x32\xfa\x8a\xac\xd0\x8f\xdb\x90\xc3\xa3\x18\x7b\x51\x56\xc8\xfd\x7b\x72\x38\xfb\xd1\x17\x65\x05\xdd\xbf\x27\x87\xd3\x1f\x77\x5d\x56\xb8\xa7\x6e\xcb\xb1\xe2\x39\xbc\x3c\x47\x0e\xee\xc8\xb5\x29\x25\xe6\x72\x33\x6a\x78\x1d\xbb\x74\xc4\xd8\x8e\xd9\xa2\xc3\xe3\x18\x79\x99\x56\xc0\xc7\xed\xd2\xe1\x01\xbc\xce\x4a\xcd\x2b\x77\x2e\xa8\xda\x26\xa6\x78\x40\x56\x74\x0a\x94\xe2\x9e\x27\xfa\x9d\x28\xc5\x43\xac\x83\x66\x1f\x63\xfd\x11\xb6\x8b\x5c\x7d\x1d\xeb\xec\x6d\x28\xeb\xf3\x56\x9a\x1d\xca\x42\xeb\xa5\x42\x47\x38\x4b\xc2\xf5\xfe\x93\xbf\x9d\xe7\xc9\xd4\x24\xa9\x41\xbe\x59\x31\x8d\xc3\xa0\x7a\x74\xb4\xbc\x0f\x85\x7b\x6d\x19\x82\xa6\x8a\x25\xc6\x3d\xe2\xf2\x95\x4c\x0d\xbc\x3b\x47\x99\x82\x57\x3c\x48\x28\x5e\xbc\xb8\x97\x9e\x53\x15\xea\x69\x27\xa4\xb7\xf3\xfe\x0f\x00\x00\xff\xff\x58\xe0\x97\xd8\x42\x1f\x00\x00") -func templatesRdsTfMainTfBytes() ([]byte, error) { +func bindataTemplatesRdstfMainTfBytes() ([]byte, error) { return bindataRead( - _templatesRdsTfMainTf, + _bindataTemplatesRdstfMainTf, "templates/rds-tf/main.tf", ) } -func templatesRdsTfMainTf() (*asset, error) { - bytes, err := templatesRdsTfMainTfBytes() +func bindataTemplatesRdstfMainTf() (*asset, error) { + bytes, err := bindataTemplatesRdstfMainTfBytes() if err != nil { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 8002, mode: os.FileMode(0644), modTime: time.Unix(1652786506, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x13, 0x54, 0xf7, 0x92, 0x55, 0x1b, 0xd3, 0x7f, 0x93, 0x7f, 0x32, 0x8a, 0x4f, 0x50, 0x5e, 0x80, 0x12, 0xdb, 0xb9, 0xfc, 0xb6, 0x6b, 0xf, 0x4, 0x5, 0x4f, 0xd4, 0xc7, 0x16, 0xc6, 0xf1, 0x51}} + info := bindataFileInfo{ + name: "templates/rds-tf/main.tf", + size: 8002, + md5checksum: "", + mode: os.FileMode(420), + modTime: time.Unix(1659083801, 0), + } + + a := &asset{bytes: bytes, info: info} + return a, nil } +// // Asset loads and returns the asset for the given name. // It returns an error if the asset could not be found or // could not be loaded. +// func Asset(name string) ([]byte, error) { - canonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[canonicalName]; ok { + cannonicalName := strings.Replace(name, "\\", "/", -1) + if f, ok := _bindata[cannonicalName]; ok { a, err := f() if err != nil { return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err) } return a.bytes, nil } - return nil, fmt.Errorf("Asset %s not found", name) -} - -// AssetString returns the asset contents as a string (instead of a []byte). -func AssetString(name string) (string, error) { - data, err := Asset(name) - return string(data), err + return nil, &os.PathError{Op: "open", Path: name, Err: os.ErrNotExist} } +// // MustAsset is like Asset but panics when Asset would return an error. // It simplifies safe initialization of global variables. +// nolint: deadcode +// func MustAsset(name string) []byte { a, err := Asset(name) if err != nil { @@ -310,55 +454,26 @@ func MustAsset(name string) []byte { return a } -// MustAssetString is like AssetString but panics when Asset would return an -// error. It simplifies safe initialization of global variables. -func MustAssetString(name string) string { - return string(MustAsset(name)) -} - +// // AssetInfo loads and returns the asset info for the given name. -// It returns an error if the asset could not be found or -// could not be loaded. +// It returns an error if the asset could not be found or could not be loaded. +// func AssetInfo(name string) (os.FileInfo, error) { - canonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[canonicalName]; ok { + cannonicalName := strings.Replace(name, "\\", "/", -1) + if f, ok := _bindata[cannonicalName]; ok { a, err := f() if err != nil { return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err) } return a.info, nil } - return nil, fmt.Errorf("AssetInfo %s not found", name) -} - -// AssetDigest returns the digest of the file with the given name. It returns an -// error if the asset could not be found or the digest could not be loaded. -func AssetDigest(name string) ([sha256.Size]byte, error) { - canonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[canonicalName]; ok { - a, err := f() - if err != nil { - return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s can't read by error: %v", name, err) - } - return a.digest, nil - } - return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s not found", name) -} - -// Digests returns a map of all known files and their checksums. -func Digests() (map[string][sha256.Size]byte, error) { - mp := make(map[string][sha256.Size]byte, len(_bindata)) - for name := range _bindata { - a, err := _bindata[name]() - if err != nil { - return nil, err - } - mp[name] = a.digest - } - return mp, nil + return nil, &os.PathError{Op: "open", Path: name, Err: os.ErrNotExist} } +// // AssetNames returns the names of the assets. +// nolint: deadcode +// func AssetNames() []string { names := make([]string, 0, len(_bindata)) for name := range _bindata { @@ -367,23 +482,25 @@ func AssetNames() []string { return names } +// // _bindata is a table, holding each asset generator, mapped to its name. +// var _bindata = map[string]func() (*asset, error){ - "templates/aws-roles-tf/deploy.sh": templatesAwsRolesTfDeploySh, - "templates/aws-roles-tf/main.tf": templatesAwsRolesTfMainTf, - "templates/aws-s3-bucket-tf/deploy.sh": templatesAwsS3BucketTfDeploySh, - "templates/aws-s3-bucket-tf/main.tf": templatesAwsS3BucketTfMainTf, - "templates/document-db-tf/deploy.sh": templatesDocumentDbTfDeploySh, - "templates/document-db-tf/main.tf": templatesDocumentDbTfMainTf, - "templates/elastic-cache-tf/deploy.sh": templatesElasticCacheTfDeploySh, - "templates/elastic-cache-tf/main.tf": templatesElasticCacheTfMainTf, - "templates/rds-tf/deploy.sh": templatesRdsTfDeploySh, - "templates/rds-tf/main.tf": templatesRdsTfMainTf, + "templates/aws-roles-tf/deploy.sh": bindataTemplatesAwsrolestfDeploySh, + "templates/aws-roles-tf/main.tf": bindataTemplatesAwsrolestfMainTf, + "templates/aws-s3-bucket-tf/deploy.sh": bindataTemplatesAwss3buckettfDeploySh, + "templates/aws-s3-bucket-tf/main.tf": bindataTemplatesAwss3buckettfMainTf, + "templates/document-db-tf/deploy.sh": bindataTemplatesDocumentdbtfDeploySh, + "templates/document-db-tf/main.tf": bindataTemplatesDocumentdbtfMainTf, + "templates/dynamo-db-tf/deploy.sh": bindataTemplatesDynamodbtfDeploySh, + "templates/dynamo-db-tf/main.tf": bindataTemplatesDynamodbtfMainTf, + "templates/elastic-cache-tf/deploy.sh": bindataTemplatesElasticcachetfDeploySh, + "templates/elastic-cache-tf/main.tf": bindataTemplatesElasticcachetfMainTf, + "templates/rds-tf/deploy.sh": bindataTemplatesRdstfDeploySh, + "templates/rds-tf/main.tf": bindataTemplatesRdstfMainTf, } -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false - +// // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the @@ -393,24 +510,33 @@ const AssetDebug = false // img/ // a.png // b.png -// then AssetDir("data") would return []string{"foo.txt", "img"}, -// AssetDir("data/img") would return []string{"a.png", "b.png"}, -// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and +// then AssetDir("data") would return []string{"foo.txt", "img"} +// AssetDir("data/img") would return []string{"a.png", "b.png"} +// AssetDir("foo.txt") and AssetDir("notexist") would return an error // AssetDir("") will return []string{"data"}. +// func AssetDir(name string) ([]string, error) { node := _bintree if len(name) != 0 { - canonicalName := strings.Replace(name, "\\", "/", -1) - pathList := strings.Split(canonicalName, "/") + cannonicalName := strings.Replace(name, "\\", "/", -1) + pathList := strings.Split(cannonicalName, "/") for _, p := range pathList { node = node.Children[p] if node == nil { - return nil, fmt.Errorf("Asset %s not found", name) + return nil, &os.PathError{ + Op: "open", + Path: name, + Err: os.ErrNotExist, + } } } } if node.Func != nil { - return nil, fmt.Errorf("Asset %s not found", name) + return nil, &os.PathError{ + Op: "open", + Path: name, + Err: os.ErrNotExist, + } } rv := make([]string, 0, len(node.Children)) for childName := range node.Children { @@ -424,32 +550,36 @@ type bintree struct { Children map[string]*bintree } -var _bintree = &bintree{nil, map[string]*bintree{ - "templates": {nil, map[string]*bintree{ - "aws-roles-tf": {nil, map[string]*bintree{ - "deploy.sh": {templatesAwsRolesTfDeploySh, map[string]*bintree{}}, - "main.tf": {templatesAwsRolesTfMainTf, map[string]*bintree{}}, +var _bintree = &bintree{Func: nil, Children: map[string]*bintree{ + "templates": {Func: nil, Children: map[string]*bintree{ + "aws-roles-tf": {Func: nil, Children: map[string]*bintree{ + "deploy.sh": {Func: bindataTemplatesAwsrolestfDeploySh, Children: map[string]*bintree{}}, + "main.tf": {Func: bindataTemplatesAwsrolestfMainTf, Children: map[string]*bintree{}}, }}, - "aws-s3-bucket-tf": {nil, map[string]*bintree{ - "deploy.sh": {templatesAwsS3BucketTfDeploySh, map[string]*bintree{}}, - "main.tf": {templatesAwsS3BucketTfMainTf, map[string]*bintree{}}, + "aws-s3-bucket-tf": {Func: nil, Children: map[string]*bintree{ + "deploy.sh": {Func: bindataTemplatesAwss3buckettfDeploySh, Children: map[string]*bintree{}}, + "main.tf": {Func: bindataTemplatesAwss3buckettfMainTf, Children: map[string]*bintree{}}, }}, - "document-db-tf": {nil, map[string]*bintree{ - "deploy.sh": {templatesDocumentDbTfDeploySh, map[string]*bintree{}}, - "main.tf": {templatesDocumentDbTfMainTf, map[string]*bintree{}}, + "document-db-tf": {Func: nil, Children: map[string]*bintree{ + "deploy.sh": {Func: bindataTemplatesDocumentdbtfDeploySh, Children: map[string]*bintree{}}, + "main.tf": {Func: bindataTemplatesDocumentdbtfMainTf, Children: map[string]*bintree{}}, }}, - "elastic-cache-tf": {nil, map[string]*bintree{ - "deploy.sh": {templatesElasticCacheTfDeploySh, map[string]*bintree{}}, - "main.tf": {templatesElasticCacheTfMainTf, map[string]*bintree{}}, + "dynamo-db-tf": {Func: nil, Children: map[string]*bintree{ + "deploy.sh": {Func: bindataTemplatesDynamodbtfDeploySh, Children: map[string]*bintree{}}, + "main.tf": {Func: bindataTemplatesDynamodbtfMainTf, Children: map[string]*bintree{}}, }}, - "rds-tf": {nil, map[string]*bintree{ - "deploy.sh": {templatesRdsTfDeploySh, map[string]*bintree{}}, - "main.tf": {templatesRdsTfMainTf, map[string]*bintree{}}, + "elastic-cache-tf": {Func: nil, Children: map[string]*bintree{ + "deploy.sh": {Func: bindataTemplatesElasticcachetfDeploySh, Children: map[string]*bintree{}}, + "main.tf": {Func: bindataTemplatesElasticcachetfMainTf, Children: map[string]*bintree{}}, + }}, + "rds-tf": {Func: nil, Children: map[string]*bintree{ + "deploy.sh": {Func: bindataTemplatesRdstfDeploySh, Children: map[string]*bintree{}}, + "main.tf": {Func: bindataTemplatesRdstfMainTf, Children: map[string]*bintree{}}, }}, }}, }} -// RestoreAsset restores an asset under the given directory. +// RestoreAsset restores an asset under the given directory func RestoreAsset(dir, name string) error { data, err := Asset(name) if err != nil { @@ -470,7 +600,7 @@ func RestoreAsset(dir, name string) error { return os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) } -// RestoreAssets restores an asset under the given directory recursively. +// RestoreAssets restores an asset under the given directory recursively func RestoreAssets(dir, name string) error { children, err := AssetDir(name) // File @@ -488,6 +618,6 @@ func RestoreAssets(dir, name string) error { } func _filePath(dir, name string) string { - canonicalName := strings.Replace(name, "\\", "/", -1) - return filepath.Join(append([]string{dir}, strings.Split(canonicalName, "/")...)...) + cannonicalName := strings.Replace(name, "\\", "/", -1) + return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) } diff --git a/main.go b/main.go index db3060b..f5e6d21 100644 --- a/main.go +++ b/main.go @@ -221,6 +221,18 @@ func main() { return nil }, }, + { + Name: "dynamo-db", + Usage: "Provision dynamo db tables", + Action: func(c *cli.Context) error { + err := executeCommand(c, "dynamodb", "dynamo-db-tf") + if err != nil { + log.Fatalf("\nErr: %v", err) + return err + } + return nil + }, + }, { Name: "all", Usage: "Provision all resources", diff --git a/main_test.go b/main_test.go index cc38b7a..d916b1a 100644 --- a/main_test.go +++ b/main_test.go @@ -138,3 +138,10 @@ func TestTemplates_DocumentDb_CompareWithOutput(t *testing.T) { t.Error(err) } } + +func TestTemplates_DynamoDb_CompareWithOutput(t *testing.T) { + err := CompareResourceWithOutput("dynamo-db-tf", "dynamodb") + if err != nil { + t.Error(err) + } +} diff --git a/sample_infra_manifest.json b/sample_infra_manifest.json index c3d6d21..bd1c798 100644 --- a/sample_infra_manifest.json +++ b/sample_infra_manifest.json @@ -111,7 +111,73 @@ "awsInstanceClass": "cache.t3.small", "instanceName": "smaple-redis-cache", "multiAZ": true - } + }, + "dynamodb": { + "tables": [ + { + "table_name": "message", + "read_capacity": 15, + "read_target_value": 70, + "min_read_capacity": 35, + "max_read_capacity": 100, + "write_capacity": 35, + "write_target_value": 70, + "min_write_capacity": 15, + "max_write_capacity": 100, + "billing_mode": "PAY_PER_REQUEST", + "hash_key": "subBatchId", + "range_key": "messageId", + "attributes": [ + { + "name": "messageId", + "type": "S" + }, + { + "name": "subBatchId", + "type": "S" + } + ], + "tags": { + "Name": "message", + "Product": "sa", + "Team": "CRM", + "Owner": "crm", + "Environment": "nonprod" + } + }, + { + "table_name": "batch", + "read_capacity": 15, + "read_target_value": 70, + "min_read_capacity": 35, + "max_read_capacity": 100, + "write_capacity": 35, + "write_target_value": 70, + "min_write_capacity": 15, + "max_write_capacity": 100, + "billing_mode": "PAY_PER_REQUEST", + "hash_key": "batchId", + "range_key": "subBatchId", + "attributes": [ + { + "name": "batchId", + "type": "S" + }, + { + "name": "subBatchId", + "type": "N" + } + ], + "tags": { + "Name": "batch", + "Product": "sa", + "Team": "CRM", + "Owner": "crm", + "Environment": "nonprod" + } + } + ] + } }, "team": { "name": "Infra" diff --git a/templates/dynamo-db-tf/deploy.sh b/templates/dynamo-db-tf/deploy.sh new file mode 100644 index 0000000..013f60f --- /dev/null +++ b/templates/dynamo-db-tf/deploy.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +additional_terraform_options="" + +{{ if .Actions.Plan }} terraform_action=plan {{ else if .Actions.Destroy}} terraform_action=destroy {{ else }} terraform_action=apply {{ end }} + +{{- if and .Actions.Plan .Actions.Destroy }} +additional_terraform_options="${additional_terraform_options} -destroy" +{{- else if or .Actions.Destroy .Actions.Apply }} +additional_terraform_options="${additional_terraform_options} -auto-approve" +{{- end }} + + +terraform init +terraform workspace select {{ .ExtraResources.Workspace }} || terraform workspace new {{ .ExtraResources.Workspace }} +terraform $terraform_action $additional_terraform_options diff --git a/testdata/m1_basic/expected_output/dynamo-db-tf/deploy.sh b/testdata/m1_basic/expected_output/dynamo-db-tf/deploy.sh new file mode 100755 index 0000000..97fa75a --- /dev/null +++ b/testdata/m1_basic/expected_output/dynamo-db-tf/deploy.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +additional_terraform_options="" + + terraform_action=apply +additional_terraform_options="${additional_terraform_options} -auto-approve" + + +terraform init +terraform workspace select nonprod.np.navi-tech.in || terraform workspace new nonprod.np.navi-tech.in +terraform $terraform_action $additional_terraform_options diff --git a/testdata/m1_basic/expected_output/dynamo-db-tf/main.tf b/testdata/m1_basic/expected_output/dynamo-db-tf/main.tf new file mode 100755 index 0000000..7aab4c5 --- /dev/null +++ b/testdata/m1_basic/expected_output/dynamo-db-tf/main.tf @@ -0,0 +1,24 @@ +terraform { + backend "s3" { + bucket = "navi-bank-terraform-command-state" + region = "ap-south-1" + key = "dynamodb" + workspace_key_prefix = "dynamodb-states/lending/dev/foo" + profile = "cmd" + acl = "bucket-owner-full-control" + } +} + +module "dynamodb" { + source = "git@github.cmd.navi-tech.in:navi-infra/dynamo-db-module.git" + environment = "dev" + infra_vertical = "lending" + tags = { + Team = "Infra" + Owner = "lending" + Product = "lending" + Environment = "dev" + Name = "foo" + } + tables = [{"table_name":"message","read_capacity":15,"read_target_value":70,"min_read_capacity":35,"max_read_capacity":100,"write_capacity":35,"write_target_value":70,"min_write_capacity":15,"max_write_capacity":100,"billing_mode":"PAY_PER_REQUEST","hash_key":"subBatchId","range_key":"messageId","attributes":[{"name":"messageId","type":"S"},{"name":"subBatchId","type":"S"}]},{"table_name":"batch","read_capacity":15,"read_target_value":70,"min_read_capacity":35,"max_read_capacity":100,"write_capacity":35,"write_target_value":70,"min_write_capacity":15,"max_write_capacity":100,"billing_mode":"PAY_PER_REQUEST","hash_key":"batchId","range_key":"subBatchId","attributes":[{"name":"batchId","type":"S"},{"name":"subBatchId","type":"N"}]}] +} \ No newline at end of file diff --git a/testdata/m1_basic/sample_infra_manifest.json b/testdata/m1_basic/sample_infra_manifest.json index 25eb1e4..849980a 100644 --- a/testdata/m1_basic/sample_infra_manifest.json +++ b/testdata/m1_basic/sample_infra_manifest.json @@ -104,6 +104,72 @@ "volumeUsageTooHigh": 107374, "freeMemoryTooLowInMB": 200 } + }, + "dynamodb": { + "tables": [ + { + "table_name": "message", + "read_capacity": 15, + "read_target_value": 70, + "min_read_capacity": 35, + "max_read_capacity": 100, + "write_capacity": 35, + "write_target_value": 70, + "min_write_capacity": 15, + "max_write_capacity": 100, + "billing_mode": "PAY_PER_REQUEST", + "hash_key": "subBatchId", + "range_key": "messageId", + "attributes": [ + { + "name": "messageId", + "type": "S" + }, + { + "name": "subBatchId", + "type": "S" + } + ], + "tags": { + "Name": "message", + "Product": "sa", + "Team": "CRM", + "Owner": "crm", + "Environment": "nonprod" + } + }, + { + "table_name": "batch", + "read_capacity": 15, + "read_target_value": 70, + "min_read_capacity": 35, + "max_read_capacity": 100, + "write_capacity": 35, + "write_target_value": 70, + "min_write_capacity": 15, + "max_write_capacity": 100, + "billing_mode": "PAY_PER_REQUEST", + "hash_key": "batchId", + "range_key": "subBatchId", + "attributes": [ + { + "name": "batchId", + "type": "S" + }, + { + "name": "subBatchId", + "type": "N" + } + ], + "tags": { + "Name": "batch", + "Product": "sa", + "Team": "CRM", + "Owner": "crm", + "Environment": "nonprod" + } + } + ] } }, "team": { diff --git a/types.go b/types.go index d6dc985..00e7453 100644 --- a/types.go +++ b/types.go @@ -24,20 +24,48 @@ type Manifest struct { Name string `json:"name"` NameSuffix string StateStoreBackend *StateStoreBackend - InfraVertical string `json:"infraVertical"` + InfraVertical string `json:"infraVertical"` Actions *Actions } type ExtraResources struct { //TODO: Remove environment from ExtraResources once all apps have migrated to new schema - Environment string `json:"environment"` - Workspace string `json:"workspace"` - Database *Database `json:"database" module:"rds" moduleDir:"rds-tf"` + Environment string `json:"environment"` + Workspace string `json:"workspace"` + Database *Database `json:"database" module:"rds" moduleDir:"rds-tf"` // TBD: remove undersocre from json key. to keep naming conventions same across board - ServiceRole *ServiceRole `json:"aws_access" module:"roles" moduleDir:"aws-roles-tf"` - S3Buckets []S3Bucket `json:"s3_buckets" module:"s3" moduleDir:"aws-s3-bucket-tf"` - ElasticCache *ElasticCache `json:"elasticCache" module:"elasticCache" moduleDir:"elastic-cache-tf"` - DocDb *DocDb `json:"docdb" module:"docdb" moduleDir:"document-db-tf"` + ServiceRole *ServiceRole `json:"aws_access" module:"roles" moduleDir:"aws-roles-tf"` + S3Buckets []S3Bucket `json:"s3_buckets" module:"s3" moduleDir:"aws-s3-bucket-tf"` + ElasticCache *ElasticCache `json:"elasticCache" module:"elasticCache" moduleDir:"elastic-cache-tf"` + DocDb *DocDb `json:"docdb" module:"docdb" moduleDir:"document-db-tf"` + Dynamodb *Dynamodb `json:"dynamodb" module:"dynamodb" moduleDir:"dynamo-db-tf"` +} + +type Dynamodb struct { + Tables []DynamodbTables `json:"tables"` +} + +type DynamodbTables struct { + TableName string `json:"table_name"` + ReadCapacity int `json:"read_capacity"` + ReadTargetValue int `json:"read_target_value"` + MinReadCapacity int `json:"min_read_capacity"` + MaxReadCapacity int `json:"max_read_capacity"` + WriteCapacity int `json:"write_capacity"` + WriteTargetValue int `json:"write_target_value"` + MinWriteCapacity int `json:"min_write_capacity"` + MaxWriteCapacity int `json:"max_write_capacity"` + BillingMode string `json:"billing_mode"` + HashKey string `json:"hash_key"` + RangeKey string `json:"range_key"` + Attributes []struct { + Name string `json:"name"` + Type string `json:"type"` + } `json:"attributes"` + Ttl []struct { + AttributeName string `json:"attribute_name"` + Enabled bool `json:"enabled"` + } } //We provide defaults in respective terraforms instead of here to keep all values at one place @@ -76,36 +104,36 @@ type ElasticCache struct { } type DocDb struct { - AwsInstanceClass string `json:"awsInstanceClass"` - InstanceName string `json:"instanceName" valid:"required"` - ApplyImmediately bool `json:"applyImmediately"` - MasterUser string `json:"masterUser" valid:"required"` - MasterPassword string `json:"masterPassword" valid:"required"` - Parameters []Parameter `json:"parameters"` - KmsKeyId string `json:"kmsKeyId"` - ClusterSize int `json:"clusterSize"` - DocDBAlertThresholds *DocDBAlertThresholds `json:"docDBAlertThresholds"` - DocDBAlertDurations *DocDBAlertDurations `json:"docDBAlertDurations"` + AwsInstanceClass string `json:"awsInstanceClass"` + InstanceName string `json:"instanceName" valid:"required"` + ApplyImmediately bool `json:"applyImmediately"` + MasterUser string `json:"masterUser" valid:"required"` + MasterPassword string `json:"masterPassword" valid:"required"` + Parameters []Parameter `json:"parameters"` + KmsKeyId string `json:"kmsKeyId"` + ClusterSize int `json:"clusterSize"` + DocDBAlertThresholds *DocDBAlertThresholds `json:"docDBAlertThresholds"` + DocDBAlertDurations *DocDBAlertDurations `json:"docDBAlertDurations"` } type DocDBAlertThresholds struct { - ReadLatency float64 `json:"readLatency"` - WriteLatency float64 `json:"writeLatency"` - DBConnections int `json:"dbConnections"` - CpuUtilization int `json:"cpuUtilization"` - CpuCreditBalance int `json:"cpuCreditBalance"` - VolumeUsageTooHigh int `json:"volumeUsageTooHigh"` - FreeMemoryTooLowInMB int `json:"freeMemoryTooLowInMB"` + ReadLatency float64 `json:"readLatency"` + WriteLatency float64 `json:"writeLatency"` + DBConnections int `json:"dbConnections"` + CpuUtilization int `json:"cpuUtilization"` + CpuCreditBalance int `json:"cpuCreditBalance"` + VolumeUsageTooHigh int `json:"volumeUsageTooHigh"` + FreeMemoryTooLowInMB int `json:"freeMemoryTooLowInMB"` } type DocDBAlertDurations struct { - ReadLatency int `json:"readLatency"` - WriteLatency int `json:"writeLatency"` - DBConnections int `json:"dbConnections"` - CpuUtilization int `json:"cpuUtilization"` - CpuCreditBalance int `json:"cpuCreditBalance"` - VolumeUsageTooHigh int `json:"volumeUsageTooHigh"` - FreeMemoryTooLowInMB int `json:"freeMemoryTooLowInMB"` + ReadLatency int `json:"readLatency"` + WriteLatency int `json:"writeLatency"` + DBConnections int `json:"dbConnections"` + CpuUtilization int `json:"cpuUtilization"` + CpuCreditBalance int `json:"cpuCreditBalance"` + VolumeUsageTooHigh int `json:"volumeUsageTooHigh"` + FreeMemoryTooLowInMB int `json:"freeMemoryTooLowInMB"` } type Parameter struct { @@ -144,27 +172,27 @@ type S3Bucket struct { } type RdsAlertThresholds struct { - CpuUtilization int `json:"cpuUtilization"` - CpuCreditBalance int `json:"cpuCreditBalance"` - BurstBalance int `json:"burstBalance"` - DBConnections int `json:"dbConnections"` - QueueDepth int `json:"queueDepth"` - FreeStorageSpacePercent int `json:"freeStorageSpacePercent"` - FreeMemoryTooLowInMB int `json:"freeMemoryTooLowInMB"` - ReadLatency float64 `json:"readLatency"` - WriteLatency float64 `json:"writeLatency"` + CpuUtilization int `json:"cpuUtilization"` + CpuCreditBalance int `json:"cpuCreditBalance"` + BurstBalance int `json:"burstBalance"` + DBConnections int `json:"dbConnections"` + QueueDepth int `json:"queueDepth"` + FreeStorageSpacePercent int `json:"freeStorageSpacePercent"` + FreeMemoryTooLowInMB int `json:"freeMemoryTooLowInMB"` + ReadLatency float64 `json:"readLatency"` + WriteLatency float64 `json:"writeLatency"` } type RdsAlertDurations struct { - CpuUtilization int `json:"cpuUtilization"` - CpuCreditBalance int `json:"cpuCreditBalance"` - BurstBalance int `json:"burstBalance"` - DBConnections int `json:"dbConnections"` - QueueDepth int `json:"queueDepth"` - FreeStorageSpacePercent int `json:"freeStorageSpacePercent"` - FreeMemoryTooLowInMB int `json:"freeMemoryTooLowInMB"` - ReadLatency int `json:"readLatency"` - WriteLatency int `json:"writeLatency"` + CpuUtilization int `json:"cpuUtilization"` + CpuCreditBalance int `json:"cpuCreditBalance"` + BurstBalance int `json:"burstBalance"` + DBConnections int `json:"dbConnections"` + QueueDepth int `json:"queueDepth"` + FreeStorageSpacePercent int `json:"freeStorageSpacePercent"` + FreeMemoryTooLowInMB int `json:"freeMemoryTooLowInMB"` + ReadLatency int `json:"readLatency"` + WriteLatency int `json:"writeLatency"` } type LifecycleRule struct {