++ openstack service list -f csv --quote none ++ sed -e s/,heat-cfn,cloudformation//g ++ grep ',heat-cfn,cloudformation$' + OS_SERVICE_ID=6522c2b7b73942f6bb81bdad7f30d94c ++ grep '^[a-z0-9]*,RegionOne,heat-cfn,cloudformation,True,public,' ++ openstack endpoint list -f csv --quote none ++ 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 6522c2b7b73942f6bb81bdad7f30d94c public https://cloudformation.199-204-45-205.nip.io/v1 + OS_ENDPOINT_ID=5d8b7a3022ee44a9aadc8566ab1f1fef + openstack endpoint show 5d8b7a3022ee44a9aadc8566ab1f1fef +--------------+-------------------------------------------------+ | Field | Value | +--------------+-------------------------------------------------+ | enabled | True | | id | 5d8b7a3022ee44a9aadc8566ab1f1fef | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 6522c2b7b73942f6bb81bdad7f30d94c | | service_name | heat-cfn | | service_type | cloudformation | | url | https://cloudformation.199-204-45-205.nip.io/v1 | +--------------+-------------------------------------------------+