AWSはまだまだ初心者の私ですが、CodePipelineというサービスをどうしても使いたいので四苦八苦しています。
CodePipelineの中にCodeBuildというサービスがありますが、CodeBuildでエラーが。。。
Phase context status code: ARTIFACT_ERROR Message: No matching artifact paths found
buildspec.ymlは下記のように書いてます。
 version: 0.2
 
 phases:
  install:
    commands:
      - echo Nothing to do in the install phase...
 
  pre_build:
    commands:
      - echo Nothing to do in the pre_build phase...
 
  build:
    commands:
      - echo Build started on `date`
 
  post_build:
    commands:
      - echo Build completed on `date`
 
 artifacts:
   files:
    -'**/*'
 
これ、最後の
   files:
    -'**/*'
が
 artifacts:
   files:
    - '**/*'
じゃないとダメなんですね。( ´ω`X( ´ω`X<ダメーーーーーー!!!!!
-
のあとは半角スペースを空けるのがYAMLの規則だそうです。
