Given a template:
heat_template_version: 2013-05-23 resources: provider_resource: type: https://gist.githubusercontent.com/dragorosson/91e4ab99ffb600e8f7d4/raw/a5d1029371065435fc2d2ac5d13eb4a6e405d200/provider_resource.yaml
With a provider resource:
heat_template_version: 2013-05-23 resources: server: type: OS::Heat::RandomString
URLs for these templates: https://gist.githubusercontent.com/dragorosson/2ff5f5627e0b3650982b/raw/b58069ae5d4097e067faa37d9a828baf3aefcf99/provider_template_test.template https://gist.githubusercontent.com/dragorosson/91e4ab99ffb600e8f7d4/raw/a5d1029371065435fc2d2ac5d13eb4a6e405d200/provider_resource.yaml
If we try to validate this template, it fails:
heat template-validate -u https://gist.githubusercontent.com/dragorosson/2ff5f5627e0b3650982b/raw/b58069ae5d4097e067faa37d9a828baf3aefcf99/provider_template_test.template
ERROR: Could not fetch remote template "https://gist.githubusercontent.com/dragorosson/91e4ab99ffb600e8f7d4/raw/ a5d1029371065435fc2d2ac5d13eb4a6e405d200/provider_resource.yaml": Invalid URL scheme https
However, if we do stack-create, it succeeds:
heat stack-create -u https://gist.git hubusercontent.com/dragorosson/2ff5f5627e0b3650982b/raw/b58069ae5d4097e067faa37d9a828baf3aefcf99/provider_templa te_test.template test_stack
+--------------------------------------+--------------+--------------------+-------------------- | id | stack_name | stack_status | creation_time +--------------------------------------+--------------+--------------------+-------------------- | 25b5ff8c-4834-42a4-9389-9a1c4a629461 | test_stack | CREATE_IN_PROGRESS | 2015-08-26T15:45:34 +--------------------------------------+--------------+--------------------+--------------------
...
+--------------------------------------+--------------+-----------------+---------------------+ | id | stack_name | stack_status | creation_time | +--------------------------------------+--------------+-----------------+---------------------+ | 25b5ff8c-4834-42a4-9389-9a1c4a629461 | test_stack | CREATE_COMPLETE | 2015-08-26T15:45:34 | +--------------------------------------+--------------+-----------------+---------------------+
Given a template:
heat_template_ version: 2013-05-23 resource: /gist.githubuse rcontent. com/dragorosson /91e4ab99ffb600 e8f7d4/ raw/a5d10293710 65435fc2d2ac5d1 3eb4a6e405d200/ provider_ resource. yaml
resources:
provider_
type: https:/
With a provider resource:
heat_template_ version: 2013-05-23 :RandomString
resources:
server:
type: OS::Heat:
URLs for these templates: /gist.githubuse rcontent. com/dragorosson /2ff5f5627e0b36 50982b/ raw/b58069ae5d4 097e067faa37d9a 828baf3aefcf99/ provider_ template_ test.template /gist.githubuse rcontent. com/dragorosson /91e4ab99ffb600 e8f7d4/ raw/a5d10293710 65435fc2d2ac5d1 3eb4a6e405d200/ provider_ resource. yaml
https:/
https:/
If we try to validate this template, it fails:
heat template-validate -u https:/ /gist.githubuse rcontent. com/dragorosson /2ff5f5627e0b36 50982b/ raw/b58069ae5d4 097e067faa37d9a 828baf3aefcf99/ provider_ template_ test.template
ERROR: Could not fetch remote template "https:/ /gist.githubuse rcontent. com/dragorosson /91e4ab99ffb600 e8f7d4/ raw/ 5fc2d2ac5d13eb4 a6e405d200/ provider_ resource. yaml": Invalid URL scheme https
a5d102937106543
However, if we do stack-create, it succeeds:
heat stack-create -u https:/ /gist.git com/dragorosson /2ff5f5627e0b36 50982b/ raw/b58069ae5d4 097e067faa37d9a 828baf3aefcf99/ provider_ templa
hubusercontent.
te_test.template test_stack
+------ ------- ------- ------- ------- ----+-- ------- -----+- ------- ------- -----+- ------- ------- ----- ------- ------- ------- ------- ----+-- ------- -----+- ------- ------- -----+- ------- ------- ----- 4834-42a4- 9389-9a1c4a6294 61 | test_stack | CREATE_IN_PROGRESS | 2015-08-26T15:45:34 ------- ------- ------- ------- ----+-- ------- -----+- ------- ------- -----+- ------- ------- -----
| id | stack_name | stack_status | creation_time
+------
| 25b5ff8c-
+------
...
+------ ------- ------- ------- ------- ----+-- ------- -----+- ------- ------- --+---- ------- ------- ---+ ------- ------- ------- ------- ----+-- ------- -----+- ------- ------- --+---- ------- ------- ---+ 4834-42a4- 9389-9a1c4a6294 61 | test_stack | CREATE_COMPLETE | 2015-08-26T15:45:34 | ------- ------- ------- ------- ----+-- ------- -----+- ------- ------- --+---- ------- ------- ---+
| id | stack_name | stack_status | creation_time |
+------
| 25b5ff8c-
+------