GitFilePathFilterCriteria exists in CloudFormation docs but is not supported by CloudFormation.

0

Title. Try creating a CFN stack with GitFilePathFilterCriteria as a property for a AWS::CodePipeline::Pipeline resource, you will get get an unsupported property error, but this property is listed in the docs right here:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitfilepathfiltercriteria.html

질문됨 2달 전396회 조회
1개 답변
1
수락된 답변

Hello.

Could you share your CodePipeline CloudFormation template?
There may be a problem with the template syntax.

Can you confirm that "Triggers" has the following syntax?
Looking at the document, you can see that "FilePaths" of "PullRequest" is "AWS::CodePipeline::Pipeline GitFilePathFilterCriteria".

Type: AWS::CodePipeline::Pipeline
Properties:
  Triggers: 
    - GitConfiguration:
        PullRequest: 
          - FilePaths: 
              Excludes: 
                - "test"
              Includes: 
                - "sample"

profile picture
전문가
답변함 2달 전
profile picture
전문가
검토됨 한 달 전
  • Thanks, that works. Is there any way you were able to see what fields the property belongs to? From the documentation, I was only able to tell that GitFilePathFilterCriteria is a property of AWS::CodePipeline::Pipeline, not of GitConfiguration

  • I also searched by tracing the property one by one.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠