Revision history [back]

click to hide/show revision 1
initial version

This can be done with the help of UserData. Please refer template [1], where the PublicIP of DatabaseServer is being updated/replaced (in file /usr/share/wordpress/wp-config.php).

[1] - https://github.com/openstack/heat-templates/blob/master/cfn/F17/WordPress_2_Instances.template#L155