Skip to content

Commit

Permalink
Don't do boto work on the stack resource (#3951)
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong authored Feb 8, 2025
1 parent 510febb commit 53ac0a5
Show file tree
Hide file tree
Showing 262 changed files with 17,232 additions and 14,916 deletions.
4 changes: 4 additions & 0 deletions scripts/boto/_automated_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
"workdocs",
]

skip_resource_types = ["AWS::CloudFormation::Stack"]

skip_property_names = ["State"]

_visited_paths = []
Expand Down Expand Up @@ -251,6 +253,8 @@ def get_resource_patches(
_, schema_data = ref_resolver.resolve("/")

resource_type = schema_data.get("typeName", "")
if resource_type in skip_resource_types:
continue
if resource_type not in results:
results[resource_type] = {}

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

This file was deleted.

Empty file.
6 changes: 3 additions & 3 deletions src/cfnlint/data/schemas/providers/af_south_1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@
"AWS::SSM::MaintenanceWindowTask",
"AWS::SSM::Parameter",
"AWS::SSM::PatchBaseline",
"AWS::SSM::ResourceDataSync",
"AWS::SSO::Application",
"AWS::SSO::ApplicationAssignment",
"AWS::SSO::Assignment",
Expand Down Expand Up @@ -1184,6 +1185,7 @@
"aws-ec2-networkinterface.json",
"aws-ec2-networkinterfaceattachment.json",
"aws-ec2-networkperformancemetricsubscription.json",
"aws-ec2-placementgroup.json",
"aws-ec2-prefixlist.json",
"aws-ec2-route.json",
"aws-ec2-routetable.json",
Expand Down Expand Up @@ -1541,7 +1543,6 @@
"aws-route53resolver-resolverqueryloggingconfig.json",
"aws-route53resolver-resolverqueryloggingconfigassociation.json",
"aws-route53resolver-resolverruleassociation.json",
"aws-rum-appmonitor.json",
"aws-s3-accessgrant.json",
"aws-s3-accessgrantsinstance.json",
"aws-s3-accessgrantslocation.json",
Expand Down Expand Up @@ -1584,7 +1585,6 @@
"aws-secretsmanager-secrettargetattachment.json",
"aws-securityhub-automationrule.json",
"aws-securityhub-delegatedadmin.json",
"aws-securityhub-hub.json",
"aws-securityhub-insight.json",
"aws-securityhub-organizationconfiguration.json",
"aws-securityhub-productsubscription.json",
Expand Down Expand Up @@ -1634,12 +1634,12 @@
"aws-sqs-queueinlinepolicy.json",
"aws-sqs-queuepolicy.json",
"aws-ssm-association.json",
"aws-ssm-document.json",
"aws-ssm-maintenancewindow.json",
"aws-ssm-maintenancewindowtarget.json",
"aws-ssm-maintenancewindowtask.json",
"aws-ssm-parameter.json",
"aws-ssm-patchbaseline.json",
"aws-ssm-resourcedatasync.json",
"aws-sso-application.json",
"aws-sso-applicationassignment.json",
"aws-sso-assignment.json",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,6 @@
],
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
"tagging": {
"cloudFormationSystemTags": true,
"tagOnCreate": true,
"tagProperty": "/properties/Tags",
"tagUpdatable": true,
"taggable": true
},
"typeName": "AWS::RUM::AppMonitor"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Tags": {
"additionalProperties": false,
"patternProperties": {
"^(?!aws:)[a-zA-Z+-=._:/]+$": {
"^[a-zA-Z0-9-_]{1,128}$": {
"maxLength": 256,
"minLength": 0,
"type": "string"
Expand Down
Loading

0 comments on commit 53ac0a5

Please sign in to comment.