You should use ```node[:heat][:api][:cfn_port]``` and ```node[:heat][:api][:cloud_watch_port]```, not ```cfn_port``` nor ```cloud_watch_port``` (otherwise, it will break for HA; the local variables are the local ports, not the ports for users).