Skip to content

Commit a8e7fa4

Browse files
chore(specs) - Update CloudFormation specs to 154.0.0 (#3005)
* Update CloudFormation specs to 154.0.0 * Drop python 3.7 support --------- Co-authored-by: kddejong <[email protected]> Co-authored-by: Kevin DeJong <[email protected]>
1 parent 4dc004a commit a8e7fa4

File tree

108 files changed

+46355
-46719
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+46355
-46719
lines changed

Diff for: .github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, macos-latest, windows-latest]
11-
python: [ 3.7, 3.8, 3.9, "3.10", "3.11", "3.12" ]
11+
python: [ 3.8, 3.9, "3.10", "3.11", "3.12" ]
1212

1313
steps:
1414
- uses: actions/checkout@v4

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ _To get information about the [SAM Transformation](https://docs.aws.amazon.com/A
4141

4242
## Install
4343

44-
Python 3.7+ is supported.
44+
Python 3.8+ is supported.
4545

4646
### Pip
4747

Diff for: docs/rules.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To include these rules, use the `-e/include-experimental` argument when running
4646
## Rules
4747
(_This documentation is generated by running `cfn-lint --update-documentation`, do not alter this manually_)
4848

49-
The following **159** rules are applied by this linter:
49+
The following **158** rules are applied by this linter:
5050

5151
| Rule ID | Title | Description | Config<br />(Name:Type:Default) | Source | Tags |
5252
| -------- | ----- | ----------- | ---------- | ------ | ---- |
@@ -87,7 +87,6 @@ The following **159** rules are applied by this linter:
8787
| [E2015<a name="E2015"></a>](../src/cfnlint/rules/parameters/Default.py) | Default value is within parameter constraints | Making sure the parameters have a default value inside AllowedValues, MinValue, MaxValue, AllowedPattern | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html) | `parameters` |
8888
| [E2503<a name="E2503"></a>](../src/cfnlint/rules/resources/elb/Elb.py) | Resource ELB Properties | See if Elb Resource Properties are set correctly HTTPS has certificate HTTP has no certificate | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-listener.html) | `properties`,`elb` |
8989
| [E2504<a name="E2504"></a>](../src/cfnlint/rules/resources/ectwo/Ebs.py) | Check Ec2 Ebs Properties | See if Ec2 Ebs Properties are valid | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-template.html) | `properties`,`ec2`,`ebs` |
90-
| [E2506<a name="E2506"></a>](../src/cfnlint/rules/resources/ectwo/SecurityGroupIngress.py) | Resource EC2 Security Group Ingress Properties | See if EC2 Security Group Ingress Properties are set correctly. Check that "SourceSecurityGroupId" or "SourceSecurityGroupName" are are exclusive and using the type of Ref or GetAtt | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html) | `resources`,`ec2`,`securitygroup` |
9190
| [E2507<a name="E2507"></a>](../src/cfnlint/rules/resources/iam/Policy.py) | Check if IAM Policies are properly configured | See if there elements inside an IAM policy are correct | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html) | `properties`,`iam` |
9291
| [E2520<a name="E2520"></a>](../src/cfnlint/rules/resources/properties/Exclusive.py) | Check Properties that are mutually exclusive | Making sure CloudFormation properties that are exclusive are not defined | | [Source](https://github.com/aws-cloudformation/cfn-python-lint) | `resources` |
9392
| [E2521<a name="E2521"></a>](../src/cfnlint/rules/resources/properties/Inclusive.py) | Check Properties that are required together | Make sure CloudFormation resource properties are included together when required | | [Source](https://github.com/aws-cloudformation/cfn-python-lint) | `resources` |

Diff for: setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_version(filename):
4444
zip_safe=False,
4545
install_requires=[
4646
'pyyaml>5.4',
47-
'aws-sam-translator>=1.82.0',
47+
'aws-sam-translator>=1.83.0',
4848
'jsonpatch',
4949
'jsonschema>=3.0,<5',
5050
'networkx>=2.4,<4',
@@ -54,7 +54,7 @@ def get_version(filename):
5454
'sympy>=1.0.0',
5555
'regex>=2021.7.1',
5656
],
57-
python_requires='>=3.7, <=4.0, !=4.0',
57+
python_requires='>=3.8, <=4.0, !=4.0',
5858
entry_points={
5959
'console_scripts': [
6060
'cfn-lint = cfnlint.__main__:main'
@@ -69,7 +69,6 @@ def get_version(filename):
6969
'Natural Language :: English',
7070
'Operating System :: OS Independent',
7171
'Programming Language :: Python :: 3',
72-
'Programming Language :: Python :: 3.7',
7372
'Programming Language :: Python :: 3.8',
7473
'Programming Language :: Python :: 3.9',
7574
'Programming Language :: Python :: 3.10',

Diff for: src/cfnlint/data/AdditionalSpecs/Policies.json

+7
Original file line numberDiff line numberDiff line change
@@ -6839,12 +6839,15 @@
68396839
"CommitTransaction",
68406840
"CreateDataCellsFilter",
68416841
"CreateLFTag",
6842+
"CreateLakeFormationIdentityCenterConfiguration",
68426843
"CreateLakeFormationOptIn",
68436844
"DeleteDataCellsFilter",
68446845
"DeleteLFTag",
6846+
"DeleteLakeFormationIdentityCenterConfiguration",
68456847
"DeleteLakeFormationOptIn",
68466848
"DeleteObjectsOnCancel",
68476849
"DeregisterResource",
6850+
"DescribeLakeFormationIdentityCenterConfiguration",
68486851
"DescribeResource",
68496852
"DescribeTransaction",
68506853
"ExtendTransaction",
@@ -6877,6 +6880,7 @@
68776880
"StartTransaction",
68786881
"UpdateDataCellsFilter",
68796882
"UpdateLFTag",
6883+
"UpdateLakeFormationIdentityCenterConfiguration",
68806884
"UpdateResource",
68816885
"UpdateTableObjects",
68826886
"UpdateTableStorageOptimizer"
@@ -9466,11 +9470,13 @@
94669470
"ARNRegex": "^arn:aws:scn:.+",
94679471
"Actions": [
94689472
"AssignAdminPermissionsToUser",
9473+
"CreateBillOfMaterialsImportJob",
94699474
"CreateInstance",
94709475
"CreateSSOApplication",
94719476
"DeleteInstance",
94729477
"DeleteSSOApplication",
94739478
"DescribeInstance",
9479+
"GetBillOfMaterialsImportJob",
94749480
"ListAdminUsers",
94759481
"ListInstances",
94769482
"ListTagsForResource",
@@ -14833,6 +14839,7 @@
1483314839
"ecs:cluster",
1483414840
"ecs:container-instances",
1483514841
"ecs:container-name",
14842+
"ecs:enable-ebs-volumes",
1483614843
"ecs:enable-execute-command",
1483714844
"ecs:enable-service-connect",
1483814845
"ecs:namespace",

Diff for: src/cfnlint/data/AdditionalSpecs/RdsProperties.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -1135,10 +1135,18 @@
11351135
"db.m6i.8xlarge",
11361136
"db.m6i.large",
11371137
"db.m6i.xlarge",
1138+
"db.r6i.12xlarge",
1139+
"db.r6i.16xlarge",
1140+
"db.r6i.24xlarge",
1141+
"db.r6i.2xlarge",
1142+
"db.r6i.32xlarge",
1143+
"db.r6i.4xlarge",
1144+
"db.r6i.8xlarge",
1145+
"db.r6i.large",
1146+
"db.r6i.xlarge",
11381147
"db.t3.2xlarge",
11391148
"db.t3.large",
11401149
"db.t3.medium",
1141-
"db.t3.micro",
11421150
"db.t3.small",
11431151
"db.t3.xlarge"
11441152
],

0 commit comments

Comments
 (0)