Skip to content

Commit 53ac0a5

Browse files
authored
Don't do boto work on the stack resource (#3951)
1 parent 510febb commit 53ac0a5

File tree

262 files changed

+17232
-14916
lines changed

Some content is hidden

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

262 files changed

+17232
-14916
lines changed

scripts/boto/_automated_patches.py

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
"workdocs",
3636
]
3737

38+
skip_resource_types = ["AWS::CloudFormation::Stack"]
39+
3840
skip_property_names = ["State"]
3941

4042
_visited_paths = []
@@ -251,6 +253,8 @@ def get_resource_patches(
251253
_, schema_data = ref_resolver.resolve("/")
252254

253255
resource_type = schema_data.get("typeName", "")
256+
if resource_type in skip_resource_types:
257+
continue
254258
if resource_type not in results:
255259
results[resource_type] = {}
256260

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"8b740fa380510126a4d137b8c80f3530\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"bd98d59b33b9e51935499f91f7a3dfa3\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"1963fb12cffbef3505b958e0441b7aba\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
1+
{"etag": "\"f0d0239474f35b538904e8a68f40a7e3\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"1faec120da3552729dc01a27db34634c\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"4f2136f9def2cabf754183e7315c54cb\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"c7a153fdd006302a589769c5b31f5b7b\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"aa93e6c05bd84e6f32a005bfb6146fdb\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"e9dff8d999c70eee750427be2000415f\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"38cec83bd822804c70ac6f777a0ff2af\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"ffb9c0798900ac1d9e22351b47f17b3d\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"43a18380b9b3176a55f1ebd6971688fc\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"3783fe7d11e85dd1e51508e7a9b3c632\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"839b57f2576299df196cb840ed86300e\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"f850d189d34bcf7b787a7ab84354dc84\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
1+
{"etag": "\"59fe66a32a092eeb0f7aedae9f0bf13f\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"ffdc5458da85b2233773dde7b34bc6e2\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"0024304cb0b35587e5345d89f718bf29\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"61149863526db14291a2327317f3a368\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"e4bf52834077941f7cb485d55078600f\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"6d9bf7527c6e7b0d97183a68003e4c28\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"64441c01c27e6aae4024b274e9b46780\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"37291a5c113dcb73fd79395048d26158\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"a8d3310b0ead422b0d4b82cc03a6b21d\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"8e170271f6012a0c7a71e1bb8de64d95\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"5b6dcb9d0103db12b9f369fa5210656e\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"216b6c8efacfd8e0e0bb29f0e759b5ab\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"06127c8a77d23ae53b6fdd02dd2c9db2\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"1416d76dd8a9af1b30a61717b2fa821e\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"9260b8bfa1c4941a2c5c0056af96b380\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"35d476b21446dfbd956d61c30cbbbc78\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"9e9a10d09e72f29a2c07dbf42b642e29\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"575374db30ee200a96392498993d46ec\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"04db57e6d1a4b2f48c2c71bb1e2ac585\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"0ac4c96b802f0405af9ba47be8352125\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"a09345707dc72f8d354007097c5987d3\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"016509c15d6c5be6971a35c9aa25e967\"", "url": "https://schema.cloudformation.ap-southeast-7.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"e2c5276c5662da2d452cb9ddc2ef94f4\"", "url": "https://schema.cloudformation.ap-southeast-7.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"b3d9f8829092e1f4dd19c9877655e316\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"f87f394ad0f9b56c8b4779e605dd6b97\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"41f659dfe41958a6fd027b25ce35f0a8\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"36a8fa8a337ac4e9d8fef66faa2bc656\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"c7da102d465b4b0b2661210827c99baa\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"9550908b74bb941a40c39ea4a80d3adb\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"f4cebcb20b180405517913da6dc689fc\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"ef13e19dae125151ff61ac5d89cee51c\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"f5b6b30f2fea9d19c6aed2175adeb86d\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"fd2193b8950049db616f03b717ce8e97\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"bfca369b3d27a7e7678ba2ebe74405c5\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"e67dba673cc77f19755430f8997f3bce\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"db108d3b49ebc3444ed4471a59e4ed8b\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"8140b4b09a8f764c4867891648402be0\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"dfffa34da97a1eb12c4dc386d88ddd77\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"d23b883c68b9afc593a4c760e417b770\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"35047dbe198f3680ad98b16d170f585b\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"a77a6c064976fc7cdb1bae9f450f68f1\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"e5fd6625a8f1d6b9a8f806e367a7291f\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"eca5772d517e095251375afca2933d83\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"feec60067a8861f531355a4adc82d4a7\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"5a7615e9f84ecffe361f339446220b8b\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"9221a5476674a42b07670c965f836445\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"c45ec045380489530735af561876ba43\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"aa88d6f63f4acd0db02f9ca9dd45d171\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"307e06a2c432dfaea6f83771b10cb20c\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"82dd2bb827f1e6f66e518dea198b2e12\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"0bbf7f062a8a2dd3866089d0ea7146a7\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"b911d7de1d6793be3d7e69cff98f0a1d\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"f78f094bafd589c873879807f69702e4\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"e12987e7a25f15ef4f15fab40c68e40b\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"0064e34f69d61f8607772e3c75328f09\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}

src/cfnlint/data/schemas/patches/extensions/all/aws_cloudformation_stack/boto.json

-57
This file was deleted.

src/cfnlint/data/schemas/patches/extensions/all/aws_deadline_limit/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/patches/extensions/all/aws_deadline_queuelimitassociation/__init__.py

Whitespace-only changes.

src/cfnlint/data/schemas/providers/af_south_1/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@
740740
"AWS::SSM::MaintenanceWindowTask",
741741
"AWS::SSM::Parameter",
742742
"AWS::SSM::PatchBaseline",
743+
"AWS::SSM::ResourceDataSync",
743744
"AWS::SSO::Application",
744745
"AWS::SSO::ApplicationAssignment",
745746
"AWS::SSO::Assignment",
@@ -1184,6 +1185,7 @@
11841185
"aws-ec2-networkinterface.json",
11851186
"aws-ec2-networkinterfaceattachment.json",
11861187
"aws-ec2-networkperformancemetricsubscription.json",
1188+
"aws-ec2-placementgroup.json",
11871189
"aws-ec2-prefixlist.json",
11881190
"aws-ec2-route.json",
11891191
"aws-ec2-routetable.json",
@@ -1541,7 +1543,6 @@
15411543
"aws-route53resolver-resolverqueryloggingconfig.json",
15421544
"aws-route53resolver-resolverqueryloggingconfigassociation.json",
15431545
"aws-route53resolver-resolverruleassociation.json",
1544-
"aws-rum-appmonitor.json",
15451546
"aws-s3-accessgrant.json",
15461547
"aws-s3-accessgrantsinstance.json",
15471548
"aws-s3-accessgrantslocation.json",
@@ -1584,7 +1585,6 @@
15841585
"aws-secretsmanager-secrettargetattachment.json",
15851586
"aws-securityhub-automationrule.json",
15861587
"aws-securityhub-delegatedadmin.json",
1587-
"aws-securityhub-hub.json",
15881588
"aws-securityhub-insight.json",
15891589
"aws-securityhub-organizationconfiguration.json",
15901590
"aws-securityhub-productsubscription.json",
@@ -1634,12 +1634,12 @@
16341634
"aws-sqs-queueinlinepolicy.json",
16351635
"aws-sqs-queuepolicy.json",
16361636
"aws-ssm-association.json",
1637-
"aws-ssm-document.json",
16381637
"aws-ssm-maintenancewindow.json",
16391638
"aws-ssm-maintenancewindowtarget.json",
16401639
"aws-ssm-maintenancewindowtask.json",
16411640
"aws-ssm-parameter.json",
16421641
"aws-ssm-patchbaseline.json",
1642+
"aws-ssm-resourcedatasync.json",
16431643
"aws-sso-application.json",
16441644
"aws-sso-applicationassignment.json",
16451645
"aws-sso-assignment.json",

src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-placementgroup.json

-76
This file was deleted.

src/cfnlint/data/schemas/providers/eu_central_1/aws-rum-appmonitor.json renamed to src/cfnlint/data/schemas/providers/af_south_1/aws-rum-appmonitor.json

-4
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,6 @@
269269
],
270270
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
271271
"tagging": {
272-
"cloudFormationSystemTags": true,
273-
"tagOnCreate": true,
274-
"tagProperty": "/properties/Tags",
275-
"tagUpdatable": true,
276272
"taggable": true
277273
},
278274
"typeName": "AWS::RUM::AppMonitor"

src/cfnlint/data/schemas/providers/ap_northeast_3/aws-securityhub-hub.json renamed to src/cfnlint/data/schemas/providers/af_south_1/aws-securityhub-hub.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Tags": {
55
"additionalProperties": false,
66
"patternProperties": {
7-
"^(?!aws:)[a-zA-Z+-=._:/]+$": {
7+
"^[a-zA-Z0-9-_]{1,128}$": {
88
"maxLength": 256,
99
"minLength": 0,
1010
"type": "string"

0 commit comments

Comments
 (0)