[ch12541] | Abhishek | Make route53 entries dependent on deployment name

This commit is contained in:
Abhishek Katiyar
2020-06-23 18:10:21 +05:30
parent 97404990a0
commit 26e0770359
3 changed files with 41 additions and 34 deletions

View File

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

View File

@@ -43,7 +43,13 @@
{
"anonymizedBucketName": "navi-bucket-test-2",
"bucketTag": "document-uploads",
"lifecycleRules": []
"lifecycleRules": [
{
"expiration": {
"days": 1
}
}
]
}
]
},

View File

@@ -15,6 +15,7 @@ module "rds" {
instance_name = {{ .ExtraResources.Database.InstanceName | quote }}
password = {{ .ExtraResources.Database.Password | quote }}
user = {{ .ExtraResources.Database.User | quote }}
name = {{ .Deployment.Name | quote }}
monitoring_password = {{ .ExtraResources.Database.MonitoringPassword | quote }}
monitoring_user = {{ .ExtraResources.Database.MonitoringUser | quote }}