++ openstack service list -f csv --quote none ++ sed -e s/,heat-cfn,cloudformation//g ++ grep ',heat-cfn,cloudformation$' + OS_SERVICE_ID=c2ce89fb222d404dac82388427126a3a ++ 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 c2ce89fb222d404dac82388427126a3a public https://cloudformation.199-204-45-65.nip.io/v1 + OS_ENDPOINT_ID=ecefe2448e874da08f97d8ba58b0ad56 + openstack endpoint show ecefe2448e874da08f97d8ba58b0ad56 +--------------+------------------------------------------------+ | Field | Value | +--------------+------------------------------------------------+ | enabled | True | | id | ecefe2448e874da08f97d8ba58b0ad56 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | c2ce89fb222d404dac82388427126a3a | | url | https://cloudformation.199-204-45-65.nip.io/v1 | | service_name | heat-cfn | | service_type | cloudformation | +--------------+------------------------------------------------+