OpenStack Heat でテンプレート構成を使用しようとしています。
ミニマリストのテンプレートを作成しましたmy-custom-resource.yml:
heat_template_version: 2016-04-08
description: My Custom Resource
resources:
dummy:
type: OS::Heat::None
My::Custom::Resourceこのテンプレートは、私の環境ファイルの名前に関連付けられていますenvironment.yml:
resource_registry:
My::Custom::Resource: my-custom-resource.yml
テストテンプレートで使用しますstack.yml:
heat_template_version: 2016-04-08
description: My Stack
resources:
test:
type: My::Custom::Resource
最後に、コマンド ラインからスタックを作成します。
openstack stack create -t stack.yml -e environment.yml my-stack
そして、次のエラーが表示されます。
ERROR: The Resource Type (My::Custom::Resource) could not be found.
すべてのファイル名とパスを確認しましたが、すべて問題ないようです。