仕事でAWSを触り始め。
まずは自分のアカウントにて無料枠の中触ってます。
そこで下記仕組みをサンプル実行しているのですが、
エラーではまっており、解決できずに困っております。
お手数ですが、ご教授願いますでしょうか。
AWSにて、CodePipleline+CodeCommit+CodeDeployで
サンプル稼働をして見たところ、下記のエラーが
InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Error during perform: RuntimeError - The CodeDeploy agent did not find an AppSpec file within the unpacked revision directory at revision-relative path "appspec.yml". The revision was unpacked to directory "/opt/codedeploy-agent/deployment-root/79bda752-ae40-40e7-ba43-ef35759da3b1/d-Y9I7G6SNR/deployment-archive", and the AppSpec file was expected but not found at path "/opt/codedeploy-agent/deployment-root/79bda752-ae40-40e7-ba43-ef35759da3b1/d-Y9I7G6SNR/deployment-archive/appspec.yml". Consult the AWS CodeDeploy Appspec documentation for more information at http://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file.html - /opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/hook_executor.rb:213:in `parse_app_spec'
appspec.ymlがないと言われているのはわかるのですが、
どこにどう配置して内容をどう記述したらいいのかわからず困ってます。
/opt/codedeploy-agent/deployment-root/79bda752-ae40-40e7-ba43-ef35759da3b1/d-Y9I7G6SNR/
上記配下にはCodeCommitでファイルを作成したパスが入っているのですが、
Pipelineでのエラーが解消されません。
CodeCommitのファイルパス
/tmp/app/test.html
お手数ですが、宜しくお願い致します。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。