++ openstack service list -f csv --quote none ++ sed -e s/,heat-cfn,cloudformation//g ++ grep ',heat-cfn,cloudformation$' + OS_SERVICE_ID=d059e05a48c249f4ae7288982a1c0053 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,heat-cfn,cloudformation,True,public,' ++ awk -F , '{ print $1 }' + OS_ENDPOINT_ID= ++ echo ++ wc -w + '[' 0 -gt 1 ']' + [[ -n '' ]] + OS_ENDPOINT_UPDATE=True + [[ True == \T\r\u\e ]] ++ openstack endpoint create -f value -c id --region=RegionOne d059e05a48c249f4ae7288982a1c0053 public https://cloudformation.199-19-213-153.nip.io/v1 + OS_ENDPOINT_ID=55342ae8243b46e6b7cb08faa5a98e76 + openstack endpoint show 55342ae8243b46e6b7cb08faa5a98e76 +--------------+-------------------------------------------------+ | Field | Value | +--------------+-------------------------------------------------+ | enabled | True | | id | 55342ae8243b46e6b7cb08faa5a98e76 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | d059e05a48c249f4ae7288982a1c0053 | | url | https://cloudformation.199-19-213-153.nip.io/v1 | | service_name | heat-cfn | | service_type | cloudformation | +--------------+-------------------------------------------------+