448 lines
20 KiB
Go
448 lines
20 KiB
Go
// Code generated by go-bindata. DO NOT EDIT.
|
|
// sources:
|
|
// 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/rds-tf/deploy.sh
|
|
// templates/rds-tf/main.tf
|
|
|
|
package bindata
|
|
|
|
|
|
import (
|
|
"bytes"
|
|
"compress/gzip"
|
|
"fmt"
|
|
"io"
|
|
"io/ioutil"
|
|
"os"
|
|
"path/filepath"
|
|
"strings"
|
|
"time"
|
|
)
|
|
|
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
|
if err != nil {
|
|
return nil, fmt.Errorf("Read %q: %v", name, err)
|
|
}
|
|
|
|
var buf bytes.Buffer
|
|
_, err = io.Copy(&buf, gz)
|
|
clErr := gz.Close()
|
|
|
|
if err != nil {
|
|
return nil, fmt.Errorf("Read %q: %v", name, err)
|
|
}
|
|
if clErr != nil {
|
|
return nil, err
|
|
}
|
|
|
|
return buf.Bytes(), nil
|
|
}
|
|
|
|
|
|
type asset struct {
|
|
bytes []byte
|
|
info fileInfoEx
|
|
}
|
|
|
|
type fileInfoEx interface {
|
|
os.FileInfo
|
|
MD5Checksum() string
|
|
}
|
|
|
|
type bindataFileInfo struct {
|
|
name string
|
|
size int64
|
|
mode os.FileMode
|
|
modTime time.Time
|
|
md5checksum string
|
|
}
|
|
|
|
func (fi bindataFileInfo) Name() string {
|
|
return fi.name
|
|
}
|
|
func (fi bindataFileInfo) Size() int64 {
|
|
return fi.size
|
|
}
|
|
func (fi bindataFileInfo) Mode() os.FileMode {
|
|
return fi.mode
|
|
}
|
|
func (fi bindataFileInfo) ModTime() time.Time {
|
|
return fi.modTime
|
|
}
|
|
func (fi bindataFileInfo) MD5Checksum() string {
|
|
return fi.md5checksum
|
|
}
|
|
func (fi bindataFileInfo) IsDir() bool {
|
|
return false
|
|
}
|
|
func (fi bindataFileInfo) Sys() interface{} {
|
|
return nil
|
|
}
|
|
|
|
var _bindataTemplatesAwsrolestfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x51\x4d\x6f\xe2\x30\x10\xbd\xfb\x57\xcc\x86\x5c\x1d\xb4\xd7\x5d\xe5\x80\xd8\xdc\xb6\xa8\x82\x56\x3d\x54\x15\x32\xce\xb8\x58\x38\xe3\xc8\x76\x20\x51\xf0\x7f\xaf\x82\x54\x1a\x28\xa2\x47\xbf\x0f\xcf\x7b\x33\x93\x5f\xd3\x8d\xa6\xa9\xdf\x32\x36\x01\x6c\x75\x80\xc3\x16\x09\x04\x75\x20\x6d\x55\x09\x2a\x41\x09\x6d\x3c\xf3\x18\x80\x23\x63\xa2\x2c\x75\xd0\x96\x84\x59\x07\x74\x4e\x28\xeb\xaa\xb5\xad\x07\xc8\xe7\x49\x32\xe6\x77\xcd\x06\xc7\x14\xfb\x32\x08\x39\xa0\x79\xda\xff\xfe\xc3\x45\x5d\x9b\x2e\x32\xad\xe0\x15\xd2\x6b\x09\xe4\x39\x24\x27\x45\x02\x6f\x7f\xc3\x16\x89\x01\x00\xdc\x4f\x91\xf6\xf7\xf8\x08\x5c\x34\xc1\x0e\x73\x9d\xdd\x63\xc2\xd0\x78\xbc\xfe\xf5\x32\xfb\xc5\x87\x63\x2a\x02\xe7\xa5\xeb\xb8\x6b\x28\x61\x4a\x8f\x2a\x82\x26\x1d\x46\xcf\x83\x75\x3b\x5f\x0b\x89\xe0\xd1\xa0\x0c\xd0\xf7\x90\x15\x6d\x70\x62\x89\xde\x36\x4e\xa2\xcf\x5e\xce\x9a\x18\xe1\x78\x84\x5b\x6e\xc2\xc3\x4f\xd6\xd1\xd4\xef\xfb\x4c\xef\xad\x86\xb1\xa1\x9c\x0c\x06\xa4\x25\xa5\xdf\xa1\xf1\xc8\xa5\xa5\x80\x6d\x80\xb4\x9f\xff\x7f\x5e\x3d\x15\xcb\x78\x56\x9d\x0e\x03\x5c\x9d\x12\xfd\xc3\xda\xd8\xae\x42\x0a\xd9\x42\x54\x43\x10\x7e\x03\x5e\x35\x4a\xe9\xf6\x93\xbc\x6a\x51\xd0\x5e\x3b\x4b\x83\x18\x62\xcc\x3a\x51\x19\xe0\x04\x69\xbf\x98\x3d\x14\xab\xc7\xd9\xbc\x88\x17\x05\xc6\xa7\x60\x1f\x01\x00\x00\xff\xff\xae\xfa\x5e\xb7\xcb\x02\x00\x00")
|
|
|
|
func bindataTemplatesAwsrolestfDeployShBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_bindataTemplatesAwsrolestfDeploySh,
|
|
"templates/aws-roles-tf/deploy.sh",
|
|
)
|
|
}
|
|
|
|
|
|
|
|
func bindataTemplatesAwsrolestfDeploySh() (*asset, error) {
|
|
bytes, err := bindataTemplatesAwsrolestfDeployShBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{
|
|
name: "templates/aws-roles-tf/deploy.sh",
|
|
size: 715,
|
|
md5checksum: "",
|
|
mode: os.FileMode(420),
|
|
modTime: time.Unix(1596093034, 0),
|
|
}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
}
|
|
|
|
var _bindataTemplatesAwsrolestfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x91\x41\x6b\xdc\x30\x10\x85\xef\xfe\x15\xc2\x77\xc9\x94\xde\x16\x02\x6d\x68\x2e\x3d\x94\x12\x17\x7a\x34\x5a\xed\xd8\x16\x96\x34\xee\x68\xb4\xc9\xb2\xf1\x7f\x2f\x92\x92\xb2\x65\xb7\xb4\xd5\xcd\xc3\x7b\x9f\xe7\xbd\x61\x20\xd2\x23\x92\x17\xe7\x46\x88\xbd\x36\x0b\x84\x83\x68\xe3\xfb\xb6\x0c\x84\xd8\x27\xb3\x00\x8b\xdf\xdf\x9d\x68\xcf\x67\xa1\x7a\xd6\x0c\x3d\x23\xc1\x7d\x35\xaa\xfb\xa2\xfe\xa2\x3d\x88\x6d\x6b\x0b\x80\x60\xb2\x18\xae\x01\x7a\x95\x11\x13\xcf\xf2\x5d\xd5\x2d\x70\x12\x57\xef\x4e\xb4\x11\xe8\x68\x0d\x48\xab\xbd\x24\x74\x10\xab\xfc\x09\x69\x89\xab\x36\x30\x2c\x70\x1a\x56\x82\xd1\x3e\x67\xb9\xd5\xbe\xa8\xba\xbc\xe0\xc3\x33\x93\x7e\x84\x88\x89\x0c\x44\xf5\x10\x8e\x96\x30\x78\x08\x2c\xb6\xad\x28\x3e\xc1\xea\xf0\x94\x27\xea\x75\x6b\x79\x63\xdc\xa7\x31\xe3\xdf\x22\xad\x84\xa3\x75\xf0\x8f\x9d\x7c\xfc\xde\x7f\x7d\x35\xbc\x01\xb4\x71\x37\xb3\xd6\xb2\x25\x3e\x05\x20\x39\x26\xe7\xa4\xc1\xc0\x84\x2e\xdb\xb6\x66\x6b\x1a\x8f\x87\xe4\xa0\xc4\x2c\x6d\xd4\x33\xd5\x80\x17\xa0\xc9\xf2\x6e\x17\xe3\xbc\xeb\xba\xc9\xf2\x87\xc9\xf2\x9c\xf6\xca\xf8\x83\x0a\xfa\x68\x25\x83\x99\x95\x0d\x5d\xf9\xb0\x61\x24\xdd\xfd\xaa\x57\x4d\x96\xf3\xef\xe0\xa2\xac\xcc\xfc\x4b\x9f\x2f\xe2\x47\x42\xce\x11\xf3\x3e\xf5\x66\x43\x06\xfe\xc1\xdb\x57\xc9\x63\x56\xbc\x08\x9f\x22\x7f\xc3\xcf\x11\x43\x05\x64\xe3\x10\xf2\x41\x2e\xaa\xfd\xef\x5b\x6d\xcd\xcf\x00\x00\x00\xff\xff\xd4\xd2\x05\x95\xdf\x02\x00\x00")
|
|
|
|
func bindataTemplatesAwsrolestfMainTfBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_bindataTemplatesAwsrolestfMainTf,
|
|
"templates/aws-roles-tf/main.tf",
|
|
)
|
|
}
|
|
|
|
|
|
|
|
func bindataTemplatesAwsrolestfMainTf() (*asset, error) {
|
|
bytes, err := bindataTemplatesAwsrolestfMainTfBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{
|
|
name: "templates/aws-roles-tf/main.tf",
|
|
size: 735,
|
|
md5checksum: "",
|
|
mode: os.FileMode(420),
|
|
modTime: time.Unix(1596093034, 0),
|
|
}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
}
|
|
|
|
var _bindataTemplatesAwss3buckettfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x90\xb1\x4e\xc3\x30\x10\x86\xf7\x7b\x8a\x1f\x37\x6b\x5a\xb1\x82\x32\xf2\x02\x2c\x0c\x08\x55\x87\x73\x51\x4e\x24\x76\x64\x5f\x49\xab\x34\xef\x8e\xc2\x40\x2b\x40\xe9\xe8\xdf\xdf\xaf\xef\xee\x36\x77\xbb\x77\x0d\xbb\xdc\x12\x6d\x20\x47\x35\x8c\xad\x04\x70\x38\xc1\xc7\xbe\xe7\x50\xa3\x61\xed\x32\x65\x31\x94\x42\xc4\x75\xad\xa6\x31\x70\xb7\x37\x49\x89\x9b\x98\xfa\x7d\x1c\x96\x28\x57\xce\xd1\x25\x64\xbf\x84\x55\x31\xdd\x3f\x94\x3c\x0c\xdd\x69\x26\xd2\x06\xaf\x28\x7e\x33\xa8\x2a\xb8\x6f\xc4\xe1\xed\xd1\x5a\x09\x04\x00\xeb\xaa\x62\x5a\xfb\x9f\x51\xf2\xc1\xe2\x22\x4e\xf1\x53\x1c\x35\x4a\x97\xd9\xa0\x41\xed\xea\x39\xc6\xf4\x91\x07\xf6\x82\x2c\x9d\x78\xc3\x34\x61\xfb\x74\xb4\xc4\xcf\x92\xe3\x21\x79\xc9\xdb\x97\x1f\x66\x9e\x71\x3e\xe3\xbf\x76\x90\xf1\x56\xf5\xca\xfa\xf7\x0e\xc5\xda\x4a\xf4\x15\x00\x00\xff\xff\x25\xc5\x00\xaa\xac\x01\x00\x00")
|
|
|
|
func bindataTemplatesAwss3buckettfDeployShBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_bindataTemplatesAwss3buckettfDeploySh,
|
|
"templates/aws-s3-bucket-tf/deploy.sh",
|
|
)
|
|
}
|
|
|
|
|
|
|
|
func bindataTemplatesAwss3buckettfDeploySh() (*asset, error) {
|
|
bytes, err := bindataTemplatesAwss3buckettfDeployShBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{
|
|
name: "templates/aws-s3-bucket-tf/deploy.sh",
|
|
size: 428,
|
|
md5checksum: "",
|
|
mode: os.FileMode(420),
|
|
modTime: time.Unix(1596093034, 0),
|
|
}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
}
|
|
|
|
var _bindataTemplatesAwss3buckettfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x51\x4d\x8b\xdb\x30\x10\xbd\xfb\x57\x0c\xbe\x4b\xa6\xe4\x16\x08\xb4\xa1\xb9\xf4\x50\x4a\x5d\xe8\x31\x28\xca\xd8\x16\xb6\x35\x5e\x69\x94\x0f\x12\xfd\xf7\x45\xb6\xb3\x24\x24\x0b\x3b\x37\x8d\xde\x7b\xf3\xe6\x0d\xa3\x73\xaa\x22\xd7\xc3\x25\x03\xd8\x29\xdd\xa2\xdd\x43\xee\x17\xf9\xd8\x00\xd8\x05\xdd\x22\xc3\x63\xad\x20\xbf\x5c\x40\x96\xac\x18\x4b\x26\x87\xeb\x89\x28\xd7\x23\xfa\xb7\xea\x11\x62\xcc\x47\x01\x87\xb5\x21\xfb\x2c\xa0\x06\xe1\x29\x70\x23\xbe\x4d\xb8\x16\xcf\xf0\x54\xab\x64\x45\x4c\x1e\xfc\x84\x3b\x92\x6b\xfd\xa0\x34\x6e\x5b\x3c\x6f\x07\x87\x95\x39\x3d\xe2\x8a\xe4\x6d\x73\x62\xa7\xfe\xa2\xa7\xe0\x34\x7a\xb9\xb1\x07\xe3\xc8\xf6\x68\x19\x62\x1c\x11\x3f\x71\xe8\xe8\x9c\x3a\x72\x36\x2c\x5e\xb4\xcb\x50\xa5\x01\xb7\x6d\x06\x47\x95\xe9\xf0\x8b\x71\xfc\xf8\x5f\xfe\x99\x09\x37\x01\xa5\xbb\x97\x6b\x4e\xde\x05\x1d\x2d\x3a\x51\x85\xae\x13\x9a\x2c\x3b\xea\x12\x2d\x66\x31\xcb\x7a\xda\x87\x0e\x1f\x02\x19\x6f\x34\xad\x78\x27\x55\x1b\x5e\x2e\xbd\x6f\x96\x45\x51\x1b\xfe\x5e\x1b\x6e\xc2\x4e\xea\x7e\x2f\xad\x3a\x18\xc1\xa8\x1b\x69\x6c\x31\x3e\x8c\xad\x9c\x2a\xd4\xd1\x8b\x0f\x59\x59\x1b\x4e\x43\xfd\x62\x3b\xcf\x49\xaa\x2f\x32\x2d\x17\xeb\xf9\xff\x0a\x7d\xf0\xfc\x8f\x7e\x79\xb2\x10\x63\x06\x80\x77\x79\x7f\x42\xbf\x3f\xc9\x15\xde\x02\x71\x4a\x29\x8b\xd9\x7b\x00\x00\x00\xff\xff\xa0\x69\x14\x82\x94\x02\x00\x00")
|
|
|
|
func bindataTemplatesAwss3buckettfMainTfBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_bindataTemplatesAwss3buckettfMainTf,
|
|
"templates/aws-s3-bucket-tf/main.tf",
|
|
)
|
|
}
|
|
|
|
|
|
|
|
func bindataTemplatesAwss3buckettfMainTf() (*asset, error) {
|
|
bytes, err := bindataTemplatesAwss3buckettfMainTfBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{
|
|
name: "templates/aws-s3-bucket-tf/main.tf",
|
|
size: 660,
|
|
md5checksum: "",
|
|
mode: os.FileMode(420),
|
|
modTime: time.Unix(1596093034, 0),
|
|
}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
}
|
|
|
|
var _bindataTemplatesRdstfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x90\xc1\x4e\xc3\x30\x10\x44\xef\xfe\x8a\x25\xe4\x1a\x57\x5c\x41\xb9\xc1\x0f\xf4\xc2\x01\x21\x6b\x63\x6f\x5a\x8b\xc4\xb6\xbc\x9b\x16\x94\xe6\xdf\x51\x51\x45\x2b\x5a\x35\xa2\x37\x7b\x76\xd6\x6f\x3c\xf7\x77\x8b\xc6\x87\x05\xaf\x95\x62\x12\xa8\x48\x29\x74\xce\x8b\x8f\x01\x3b\x23\x94\x33\xb6\x31\xf7\x26\xa6\xbd\xc4\x75\x51\xa8\xa3\x88\x76\x2f\xd6\xe5\xf8\xf0\x58\x61\x4a\xdd\xd7\xa4\x94\x6f\xe1\x0d\xca\xbf\x1e\xa8\x6b\x28\x7e\x2c\x05\xbc\x3f\xc9\x9a\x82\x02\x00\xb8\x8e\x2a\xc7\x6b\xf3\x09\x2a\x1c\x24\xee\xc1\x39\x6e\xa8\x50\xad\x57\xc7\x6c\xe0\x83\x97\x93\xeb\x36\xe6\x0f\x4e\x68\x09\x98\x3a\xb2\x02\xe3\x08\xfa\xe5\x53\x32\x2e\x89\xe3\x90\x2d\xb1\x7e\xfd\xf5\x4c\x13\xec\x76\x70\x69\x3b\xd0\x76\x6e\xf5\x84\x7a\xde\x43\x25\x98\x57\x24\x75\x1f\xdd\xd0\x91\xce\x8e\xb5\x43\x41\x8d\x5b\x36\x3c\x34\x81\xc4\x78\xc7\xda\xc6\xbe\xc7\xe0\x4c\xca\x7e\x83\x42\x87\x11\x43\x79\xad\x91\xff\x82\x8f\x47\xe3\x03\x0b\x06\x4b\x33\x80\x71\xac\xc0\xb7\x67\xbf\x7f\x46\xc1\x06\x99\xf4\x92\xd0\x2d\x29\x75\xde\xe2\x0d\x45\x5c\xc8\x63\xf2\xe1\xb5\xf9\x5c\x14\xdc\xed\xcc\x14\x59\x56\x99\xd8\xb8\x66\x06\xf5\x1d\x00\x00\xff\xff\x32\x70\xb0\xcb\x31\x03\x00\x00")
|
|
|
|
func bindataTemplatesRdstfDeployShBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_bindataTemplatesRdstfDeploySh,
|
|
"templates/rds-tf/deploy.sh",
|
|
)
|
|
}
|
|
|
|
|
|
|
|
func bindataTemplatesRdstfDeploySh() (*asset, error) {
|
|
bytes, err := bindataTemplatesRdstfDeployShBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{
|
|
name: "templates/rds-tf/deploy.sh",
|
|
size: 817,
|
|
md5checksum: "",
|
|
mode: os.FileMode(420),
|
|
modTime: time.Unix(1596109040, 0),
|
|
}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
}
|
|
|
|
var _bindataTemplatesRdstfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\x5d\x8f\xea\x36\x10\x7d\xcf\xaf\xb0\x78\x0f\xdc\x6a\x5b\x55\x5a\x69\xd5\x2e\x0b\xb7\xda\xea\xde\x6a\xbb\x1f\xad\xd4\x17\xcb\x71\x26\xc1\xc2\xb1\xb3\x1e\x67\x59\x96\xe5\xbf\x57\x8e\x03\x24\x10\xbe\xb9\x3c\xc1\xf1\xcc\xf1\x99\x93\x99\x01\x2c\x18\xc3\x12\x6d\x32\x32\x0b\x08\x89\x18\x1f\x83\x8a\x49\x07\xaf\x3a\x25\x40\x48\x54\xf0\x31\x58\xd2\x7c\xdd\x90\x8e\x62\x6f\x22\x8c\x98\x1a\x87\x4b\x8a\x90\xeb\x2c\x63\x2a\x0e\xd1\x32\x0b\x9d\x32\xdd\x40\x2a\xb4\xda\x4c\x67\x79\x88\xba\xb0\xa3\xf0\x27\x1f\x37\x86\x29\xd9\x78\xdd\x90\x8e\x89\xd1\x07\x4c\xb4\x19\x63\xce\x38\xd0\x31\x4c\x69\x6e\x20\x11\xef\x55\x80\xbf\x0f\x7b\xb3\x19\xe9\x0e\xdf\xad\x61\x8f\x80\xba\x30\x1c\xb0\x3b\x60\x96\x45\x0c\xa1\x7b\xaf\xd0\x32\xc5\xe1\x2f\x96\x01\x99\xcf\x3d\x67\x6e\x74\x22\x24\x6c\x5c\xca\xb3\xd8\x07\x30\x2e\x5b\x55\x79\x53\x42\x3d\x51\x60\xc2\xa4\x90\x32\xe4\x5a\x59\xa3\xa5\x4b\x9b\x07\xf3\x20\xc8\x74\x5c\x48\xf0\xfa\x4b\x27\xbd\xa2\x1a\x47\x2a\xec\xf5\x35\xe2\xe8\xba\xd7\x4b\x85\xfd\x3d\x15\x76\x54\x44\x5d\x9e\xc5\xdd\xd2\x5a\x0b\x7c\xd4\x15\xaa\x57\x7e\x10\x2a\x31\xac\x67\x62\xec\xa6\xc2\xfe\x66\x20\xb9\x29\x91\xf0\xe7\xab\x2b\x77\x23\xa8\x37\x61\xb4\xca\x40\xd9\x92\xbb\xc5\x88\x61\x2d\xe4\x93\xbc\x16\xda\x3a\x1b\x02\x42\x44\x65\x0c\x55\xce\x99\xd6\xdc\x76\x13\x1b\x2c\x39\x43\x9c\x68\x13\x2f\xaa\xdb\xc5\xf2\xb0\x88\x6d\x30\x14\x08\xa6\xee\xf1\x2e\x86\x17\x17\xdb\xc8\x2e\xc5\xaf\x65\x0f\x20\x97\x7a\xea\x2a\xee\xae\x0b\x0e\x08\xc9\xb4\x12\x56\x1b\xa1\x52\x7a\x8c\xf8\xef\xcb\xb4\xf6\x32\x6a\xb4\xab\x8a\x0e\xa5\x5c\xaf\x2b\x20\x24\xae\xa2\xf0\x00\xa2\x41\xe4\xea\x44\xf2\x49\xb2\x02\xed\xb3\xfe\x13\xb5\xf2\xaa\x16\x2c\xd4\xb2\x14\x1d\x4b\xe0\x85\x3d\x03\xcb\x2a\x52\xf7\x76\xc3\x27\x1f\x95\x41\x2c\xb8\x08\x59\x9e\xbb\xbe\x6d\xb3\x76\x3e\x0f\x5b\xe0\xa7\x22\x71\x43\xba\x98\xb6\x25\x51\x39\x36\x07\x5f\x5b\x6f\xee\xe3\x5a\xbb\x34\xd0\xee\x29\x31\x20\x64\x36\x0b\x89\x48\xb6\xfb\xfa\x24\x3e\xe0\x5e\xfd\x11\x79\x56\x14\x1f\xfb\xe6\xa4\x99\xe0\xe8\x41\x22\x34\xd2\x7f\xf9\xb2\x38\x51\xf1\x81\x32\x06\xd1\xf0\xdd\x82\x42\xa1\x15\x56\x8f\x35\xa2\xb0\x82\xf6\x35\x47\x2d\x7b\xb3\x43\x8e\x93\xf2\x08\x2c\xd6\x4a\x4e\xcb\x86\x2d\xf3\x4d\x85\xf8\xae\xdf\x2d\xa5\x91\xfd\x03\xa5\x2c\xe7\xfa\x30\x39\xb5\x81\x3e\x4f\xd2\x03\x18\xf7\x75\xe8\x36\xe5\xbd\x42\x91\x8e\x2c\x0e\x15\x8b\x24\xc4\xd5\xb2\x5c\x9d\x53\x51\x05\x50\xa8\x22\xf6\xec\xce\xed\xd4\xe7\xaa\xbe\x9d\xe0\x62\xbf\xdf\x49\x86\x55\x8b\xb1\x09\xd2\xe5\x57\x04\x2f\xf1\xdd\x0a\x37\x68\x1a\x23\x79\x9c\xa4\x3e\xe3\xe3\x22\x1f\x08\xac\x99\x17\x95\x18\x35\x60\x41\x59\xa1\x15\xcd\xc1\x08\xed\x7c\xfb\xb2\x31\x6b\xdb\x63\x7f\xdd\xa6\x45\x69\xbb\x63\x53\x17\xd2\x8a\xdb\xff\x9a\x82\x32\x07\x52\xf6\x41\x6e\x88\x35\x05\x1c\xdf\x2d\xf8\x2a\xbf\xb2\x4c\xc8\x69\xd5\x1d\xf8\x2a\x69\xe2\x81\x3d\xcd\xb0\xca\x3c\xc3\x64\xc7\x32\x54\xa9\x50\xf0\x0f\x18\xb7\x1e\x6a\x32\xa0\xc4\xe9\x5b\x75\xb0\x5f\x4e\x93\xe8\x0c\x55\x6e\x28\x1f\x21\x97\x82\xb3\xd5\x54\x53\xe3\x91\xf5\x8e\x3c\x60\xc0\x2b\xae\xb6\xf6\x5c\x1f\x9b\xc6\x4d\x67\xcc\x6a\xfd\xda\xcb\xcf\xed\x63\x8c\xb7\x12\x8c\x7d\x1e\x19\xc0\x91\x96\x31\x76\xef\x1e\x5e\x5e\xac\x90\xe2\x83\xd9\xe5\x63\xe4\x79\x41\x8b\x15\x48\x99\x64\x26\xa3\x76\x91\xd4\x5e\xc2\x7e\xee\x2d\x4f\x96\x90\x23\x15\xe7\xc5\x9d\x81\x58\xd8\x3e\x93\xce\x9b\xa5\x66\x5e\xa2\x34\xf2\xf0\xe9\xaa\xd7\xf9\x8f\xef\xc8\x16\xd6\x7e\x61\xb0\xa9\x38\x72\xc8\xd9\x6a\x1b\xbc\x17\x51\x3a\xe8\xdf\x69\xa5\x80\xdb\xc6\x6f\x06\xbe\xc2\x4e\xd6\xda\x64\xbe\x88\xd8\xbf\x0b\x28\x60\x00\xb9\x1d\x79\x9e\x57\xf7\x99\xc6\x0e\x38\x59\x66\x8d\xf3\x22\x1a\xbf\x1a\x80\x27\xab\x0d\x4b\xe1\xc9\xfd\x19\x7d\x00\xc3\xdd\xef\xce\x92\x34\x31\x00\x14\xfd\x29\xf5\xff\x55\xf3\xea\xfc\x50\xbd\xdb\xf8\x2f\xb7\x24\xdc\x0d\xdf\x21\xd3\x66\xfa\xac\xf5\x37\x3d\xb9\x57\xfd\xa9\x05\x5c\x55\xe0\xb6\x12\xcd\xca\x88\x13\x0c\xdf\x46\x7f\xb9\x02\xdc\x5a\xfd\xc6\x2c\x28\x3e\xad\xed\x6b\xe9\x91\x93\x1b\xa5\xce\x7a\x91\x4e\xf9\xd7\x08\x0b\x0d\x9d\x13\x87\x9c\x2d\xb4\xc1\xbb\x55\xe9\x3c\xf8\x3f\x00\x00\xff\xff\xff\x77\x80\xbe\xd9\x11\x00\x00")
|
|
|
|
func bindataTemplatesRdstfMainTfBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_bindataTemplatesRdstfMainTf,
|
|
"templates/rds-tf/main.tf",
|
|
)
|
|
}
|
|
|
|
|
|
|
|
func bindataTemplatesRdstfMainTf() (*asset, error) {
|
|
bytes, err := bindataTemplatesRdstfMainTfBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{
|
|
name: "templates/rds-tf/main.tf",
|
|
size: 4569,
|
|
md5checksum: "",
|
|
mode: os.FileMode(420),
|
|
modTime: time.Unix(1596113213, 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) {
|
|
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, &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 {
|
|
panic("asset: Asset(" + name + "): " + err.Error())
|
|
}
|
|
|
|
return a
|
|
}
|
|
|
|
//
|
|
// 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.
|
|
//
|
|
func AssetInfo(name string) (os.FileInfo, error) {
|
|
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, &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 {
|
|
names = append(names, name)
|
|
}
|
|
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": 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/rds-tf/deploy.sh": bindataTemplatesRdstfDeploySh,
|
|
"templates/rds-tf/main.tf": bindataTemplatesRdstfMainTf,
|
|
}
|
|
|
|
//
|
|
// 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
|
|
// following hierarchy:
|
|
// data/
|
|
// foo.txt
|
|
// 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
|
|
// AssetDir("") will return []string{"data"}.
|
|
//
|
|
func AssetDir(name string) ([]string, error) {
|
|
node := _bintree
|
|
if len(name) != 0 {
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
pathList := strings.Split(cannonicalName, "/")
|
|
for _, p := range pathList {
|
|
node = node.Children[p]
|
|
if node == nil {
|
|
return nil, &os.PathError{
|
|
Op: "open",
|
|
Path: name,
|
|
Err: os.ErrNotExist,
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if node.Func != nil {
|
|
return nil, &os.PathError{
|
|
Op: "open",
|
|
Path: name,
|
|
Err: os.ErrNotExist,
|
|
}
|
|
}
|
|
rv := make([]string, 0, len(node.Children))
|
|
for childName := range node.Children {
|
|
rv = append(rv, childName)
|
|
}
|
|
return rv, nil
|
|
}
|
|
|
|
|
|
type bintree struct {
|
|
Func func() (*asset, error)
|
|
Children 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": {Func: nil, Children: map[string]*bintree{
|
|
"deploy.sh": {Func: bindataTemplatesAwss3buckettfDeploySh, Children: map[string]*bintree{}},
|
|
"main.tf": {Func: bindataTemplatesAwss3buckettfMainTf, 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
|
|
func RestoreAsset(dir, name string) error {
|
|
data, err := Asset(name)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
info, err := AssetInfo(name)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
|
|
if err != nil {
|
|
return err
|
|
}
|
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
|
if err != nil {
|
|
return err
|
|
}
|
|
return os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
|
|
}
|
|
|
|
// RestoreAssets restores an asset under the given directory recursively
|
|
func RestoreAssets(dir, name string) error {
|
|
children, err := AssetDir(name)
|
|
// File
|
|
if err != nil {
|
|
return RestoreAsset(dir, name)
|
|
}
|
|
// Dir
|
|
for _, child := range children {
|
|
err = RestoreAssets(dir, filepath.Join(name, child))
|
|
if err != nil {
|
|
return err
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func _filePath(dir, name string) string {
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
|
|
}
|