./priv/layers/admin-api.json in stacco-0.1.23 vs ./priv/layers/admin-api.json in stacco-0.1.24

- old
+ new

@@ -151,9 +151,11 @@ "#!/bin/bash\n", "export AWS_REGION='", {"Ref": "AWS::Region"}, "'\n", "export AWS_STACK_NAME='", {"Ref": "AWS::StackName"}, "'\n", "export AWS_INSTANCE_LOGICAL_NAME='BackendLaunchConfiguration'\n", "export AWS_INSTANCE_WAIT_HANDLE='", {"Ref": "AdminAPIScalingGroupReadyWaitHandle"}, "'\n", + "export DB_HOST='", {"Fn::GetAtt": ["DB", "Endpoint.Address"]}, "'\n", + "export DB_PORT='", {"Fn::GetAtt": ["DB", "Endpoint.Port"]}, "'\n", {"Ref": "UserDataEnvironmentVar"}, "\n", {"Ref": "CommonRoleScriptVar"}, "\n", {"Ref": "BackendRoleScriptVar"}, "\n" ]]}} }