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