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\x4d\x6f\xe3\x36\x10\xbd\xeb\x57\x10\xb9\xcb\xd9\xa2\x28\x0a\x2c\x10\xa0\x49\x9c\x2d\x52\xec\x16\x69\x92\x6d\x81\x5e\x08\x8a\x1a\xcb\x84\x29\x52\xe1\x8c\xe2\x38\x5e\xff\xf7\x82\xa2\x6c\x4b\xfe\x92\x5d\x39\x3e\x59\x4f\x33\x6f\xde\x8c\xde\x50\x36\x81\x73\x62\x64\x5d\xce\xe6\x11\x63\x89\x90\x13\x30\x29\xbb\xc0\x9f\x2f\x2a\x80\xb1\xa4\x94\x13\x20\xd6\xfe\x5c\xb1\x0b\x23\x5e\x55\x9c\x08\x33\x89\x57\x14\xb1\xb4\x79\x2e\x4c\x1a\x23\x09\x82\x8b\x2a\xdd\x41\xa6\xac\xd9\x4e\x17\x45\x8c\xb6\xa4\x71\xfc\x53\x88\x9b\xc0\x8c\x6d\x7d\xae\xd8\x85\x4b\x31\x04\x4c\xad\x9b\x60\x21\x24\xf0\x09\xcc\x78\xe1\x60\xa4\xde\xea\x80\x50\x0f\x2f\xe7\x73\x36\xb8\x7b\x23\x27\x1e\x01\x6d\xe9\x24\xe0\x60\x28\x48\x24\x02\x61\x70\x6f\x90\x84\x91\xf0\xa7\xc8\x81\x2d\x16\x81\xb3\x70\x76\xa4\x34\x6c\x15\x95\x79\x1a\x02\x84\xd4\x3b\x55\x85\xa1\xc4\x76\x6a\xc0\xc5\xa3\x52\xeb\x58\x5a\x43\xce\x6a\x9f\xb6\x88\x16\x51\x94\xdb\xb4\xd4\x10\xf4\x57\x93\x0c\x8a\x1a\x1c\x99\xa2\xcf\x9f\x11\xc7\x9f\x2f\x2f\x33\x45\xbf\x65\x8a\xc6\x65\x32\x90\x79\x3a\xa8\x46\x4b\x20\xc7\x03\x65\x2e\xab\x0b\x65\x46\x4e\x5c\xba\x14\x07\x99\x22\x5f\x03\xcc\xab\x72\xd6\xe4\x60\xa8\x62\xdb\xd1\xfa\x5d\x23\xe4\x07\x7b\x29\x2d\xf9\xc6\x23\xc6\x54\x3d\x0a\x6e\xfc\x2c\x76\xe6\xee\x1e\x5b\x8b\xa5\x10\x88\x53\xeb\xd2\x65\x3f\x87\x58\x1e\x96\xb1\x2d\x86\x12\xc1\x35\xa7\x7a\x88\xe1\xbb\x8f\x6d\x65\x57\xe2\x37\xb2\x87\x50\x68\x3b\xf3\x1d\x0f\x36\x05\x47\x8c\xe5\xd6\x28\xb2\x4e\x99\x8c\x9f\x22\xfe\xdb\x2a\x6d\x77\x1b\x0d\xda\x75\x47\xc7\x52\x6e\xf6\x15\x31\x96\xd6\x51\x78\x04\xd1\x30\xf1\x7d\x22\xfb\xc1\xf2\x12\xe9\xd9\xfe\x81\xd6\x04\x55\x4b\x16\x4e\x22\x43\xcf\x12\x05\x61\xcf\x20\xf2\x9a\xd4\x7f\xdd\x9a\x53\x88\xca\x21\x55\x52\xc5\xa2\x28\xbc\x53\x77\x8d\x76\xb1\x88\x77\xc0\x4f\xe5\xc8\xaf\xe5\x72\xbf\x56\x44\xd5\xa2\x1c\x5d\xb6\x69\xee\xd3\xac\x5d\x0d\x90\x3a\x5a\x8c\x18\x9b\xcf\x63\xa6\x46\xfb\xe7\xfa\xa4\xde\xe1\xde\xfc\x9e\x04\x56\x54\xef\x5d\x7b\xd2\x4e\xf0\xf4\xa0\x11\x5a\xe9\xbf\x7c\x5a\xde\x31\xe9\x91\x32\x86\xc9\xdd\x1b\x81\x41\x65\x0d\xd6\x8f\x35\xe1\xb0\x86\xba\xcc\xd1\xc8\xde\x76\xc8\x69\x52\x1e\x41\xa4\xd6\xe8\x59\x65\xd8\x2a\xdf\xd5\x48\x70\xfd\x61\x29\xad\xec\x0f\x94\xb2\xda\xeb\xe3\xe4\x34\x16\xba\x9f\xa4\x07\x70\xfe\x05\xe8\x4f\xca\x7b\x83\x2a\x1b\x13\xde\x19\x91\x68\x48\xeb\xc3\x72\x7d\x9f\xab\x3a\x80\x43\x1d\xd1\x71\x76\xee\xa7\xee\xab\xfa\x7a\x8a\xcb\xf3\xfd\x56\x0b\xac\x2d\x26\xa6\xc8\x57\xaf\x08\x59\xe1\x87\x15\x6e\xd1\xb4\x56\xf2\x34\x49\x37\x42\x4e\xca\x62\xa8\xb0\x31\xbc\xa4\xc2\xb8\x03\x02\x43\xca\x1a\x5e\x80\x53\xd6\xcf\xed\xd3\xd6\xae\xed\x8f\xfd\x75\x9f\x16\x63\xe9\xc0\x49\x5d\x6a\x52\xd7\xff\xb6\x05\xe5\x1e\xe4\xe2\x9d\x5d\x31\x72\x25\x9c\xee\x16\x7c\xd1\x5f\x44\xae\xf4\xac\x76\x07\xbe\x68\x3e\x0a\x40\x87\x19\xd6\x99\x3d\x86\xec\x59\xee\x4c\xa6\x0c\xfc\x0d\xce\x1f\x0f\x0d\x19\x50\xe1\xfc\xb5\xbe\xd1\x2d\xa7\x4d\xd4\x43\x95\x5f\xca\x47\x28\xb4\x92\x62\xbd\xd5\xdc\x05\x64\xd3\x91\x47\x2c\x78\xcd\xb5\xcb\x9e\x9b\x6b\xd3\xaa\xd4\x63\x57\x9b\x65\x3f\x72\x6f\x8b\x42\xcf\xee\x73\xff\xb6\x14\x04\x4b\x17\x09\x8f\x72\xd5\x80\x3b\xd6\x76\x93\xa5\xf7\xb9\x9c\xe2\xb5\x06\x47\xcf\x63\x07\x38\xb6\x3a\xc5\xff\x9d\x38\xb8\x2d\xca\xef\xa4\xb4\x7a\x17\xb4\xf2\xa7\x2c\x4a\x5e\xae\x41\x2e\xb4\x70\x39\xa7\x65\x52\xd7\xb3\xe9\x2c\xd2\xc7\xbb\x3b\xc9\x6f\x1d\xa4\x8a\x6e\x84\xf6\x26\x58\xf5\x20\x2b\x94\x27\x01\x3e\x4b\x17\xed\x42\xe7\xed\xe3\xa6\x74\xd8\xee\x21\xf1\xc8\xf9\xf4\xb7\x0a\x9c\x57\xfb\xf0\xe6\xd6\x1a\x03\x92\x5a\x3f\xa0\xe4\x1a\xeb\xaf\xbe\x5d\xe2\xbc\xf2\xff\x2a\xa1\x84\x21\x14\x34\x0e\x84\x2f\xfe\x9a\xa7\x1e\xe8\x2f\xbc\x41\x7e\x5e\xd5\x5f\x1c\xc0\x13\x59\x27\x32\x78\xf2\xff\xd7\x1f\xc0\x49\xff\x43\xbd\x62\x1f\x39\x00\x8e\xe1\x2e\x0f\x7f\xe7\x8b\xfa\xfe\xc9\x1d\xec\x2b\x74\xfe\x73\xac\x2a\xf5\x0d\x72\xeb\x66\xcf\xd6\x7e\xb5\xd3\x7b\x73\x33\x23\xc0\x75\x4f\xfe\x60\xe7\x79\x15\xd1\xe7\xa1\xec\xab\xf3\x01\x2d\xf9\x77\xd5\x57\x41\x60\xe4\xac\xf1\x12\xd4\x01\xe9\x6f\xaf\x26\xfd\x79\xfd\xf5\x8f\x53\x04\x2d\xe5\x53\x8f\x9c\x4f\x7a\xab\x40\x87\xf6\xe5\xd5\x22\xfa\x2f\x00\x00\xff\xff\x53\x8a\x41\x87\x49\x13\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: 4937,
|
|
md5checksum: "",
|
|
mode: os.FileMode(420),
|
|
modTime: time.Unix(1596127248, 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, "/")...)...)
|
|
}
|