-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change contains numerous patches to AWS::Batch to prevent backward compatibility issues due to the property renames in 152.0.0. This will be revisted at the next major version change.
- Loading branch information
Showing
12 changed files
with
394 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
patches = [ | ||
# backward compatibility | ||
{ | ||
"op": "move", | ||
"from": "/PropertyTypes/AWS::Batch::JobDefinition.JobTimeout", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.Timeout", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "replace", | ||
"path": "/ResourceTypes/AWS::Batch::JobDefinition/Properties/Timeout/Type", | ||
"value": "Timeout", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "move", | ||
"from": "/PropertyTypes/AWS::Batch::JobDefinition.EksMetadata", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.Metadata", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "replace", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.EksPodProperties/Properties/Metadata/Type", | ||
"value": "Metadata", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "move", | ||
"from": "/PropertyTypes/AWS::Batch::JobDefinition.EksPodProperties", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.PodProperties", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "replace", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.EksProperties/Properties/PodProperties/Type", | ||
"value": "PodProperties", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "move", | ||
"from": "/PropertyTypes/AWS::Batch::JobDefinition.EFSAuthorizationConfig", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.AuthorizationConfig", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "replace", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.EFSVolumeConfiguration/Properties/AuthorizationConfig/Type", | ||
"value": "AuthorizationConfig", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "move", | ||
"from": "/PropertyTypes/AWS::Batch::JobDefinition.EFSVolumeConfiguration", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.EfsVolumeConfiguration", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "replace", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.Volume/Properties/EfsVolumeConfiguration/Type", | ||
"value": "EfsVolumeConfiguration", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "move", | ||
"from": "/PropertyTypes/AWS::Batch::JobDefinition.Host", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.VolumesHost", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "replace", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.Volume/Properties/Host/Type", | ||
"value": "VolumesHost", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "move", | ||
"from": "/PropertyTypes/AWS::Batch::JobDefinition.MountPoint", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.MountPoints", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "replace", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.ContainerProperties/Properties/MountPoints/ItemType", | ||
"value": "MountPoints", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "move", | ||
"from": "/PropertyTypes/AWS::Batch::JobDefinition.Volume", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.Volumes", | ||
}, | ||
# backward compatibility | ||
{ | ||
"op": "replace", | ||
"path": "/PropertyTypes/AWS::Batch::JobDefinition.ContainerProperties/Properties/Volumes/ItemType", | ||
"value": "Volumes", | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.