From edbea521c923a45f639cd96f9b072bf2cdc5375c Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Mon, 4 Nov 2024 11:32:40 -0800 Subject: [PATCH] Add AutoRetryLimit for AWS::CodeBuild::Project (#3809) --- .../all/aws_codebuild_project/auto_retry_limit.json | 9 +++++++++ .../providers/us_east_1/aws-codebuild-project.json | 3 +++ .../providers/us_gov_east_1/aws-codebuild-project.json | 3 +++ .../providers/us_gov_west_1/aws-codebuild-project.json | 3 +++ 4 files changed, 18 insertions(+) create mode 100644 src/cfnlint/data/schemas/patches/providers/all/aws_codebuild_project/auto_retry_limit.json diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_codebuild_project/auto_retry_limit.json b/src/cfnlint/data/schemas/patches/providers/all/aws_codebuild_project/auto_retry_limit.json new file mode 100644 index 0000000000..116b68e3b5 --- /dev/null +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_codebuild_project/auto_retry_limit.json @@ -0,0 +1,9 @@ +[ + { + "op": "add", + "path": "/properties/AutoRetryLimit", + "value": { + "type": "number" + } + } +] diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-codebuild-project.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-codebuild-project.json index 1db236733f..cc44d3f9b3 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-codebuild-project.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-codebuild-project.json @@ -496,6 +496,9 @@ "Artifacts": { "$ref": "#/definitions/Artifacts" }, + "AutoRetryLimit": { + "type": "number" + }, "BadgeEnabled": { "type": "boolean" }, diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-codebuild-project.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-codebuild-project.json index 5d634dafa2..09b442e9f8 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-codebuild-project.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-codebuild-project.json @@ -481,6 +481,9 @@ "Artifacts": { "$ref": "#/definitions/Artifacts" }, + "AutoRetryLimit": { + "type": "number" + }, "BadgeEnabled": { "type": "boolean" }, diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-codebuild-project.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-codebuild-project.json index 5d634dafa2..09b442e9f8 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-codebuild-project.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-codebuild-project.json @@ -481,6 +481,9 @@ "Artifacts": { "$ref": "#/definitions/Artifacts" }, + "AutoRetryLimit": { + "type": "number" + }, "BadgeEnabled": { "type": "boolean" },