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

Lines changed: 4 additions & 0 deletions
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"}

0 commit comments

Comments
 (0)