Skip to content

Commit

Permalink
Add OpenSearch domain for EnableVersionUpgrade updatepolicy (#2174)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin DeJong <kddejong@amazon.com>
  • Loading branch information
bertrandda and kddejong authored Nov 16, 2021
1 parent 093e85d commit a5993b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cfnlint/rules/resources/updatepolicy/Configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ class Configuration(CloudFormationLintRule):
'EnableVersionUpgrade': {
'PrimitiveType': 'Boolean',
'ResourceTypes': [
'AWS::Elasticsearch::Domain'
'AWS::Elasticsearch::Domain',
'AWS::OpenSearchService::Domain'
]
},
'UseOnlineResharding': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,11 @@ Resources:
Type: AWS::Elasticsearch::Domain
UpdatePolicy:
EnableVersionUpgrade: true
OSD1:
Type: AWS::OpenSearchService::Domain
UpdatePolicy:
EnableVersionUpgrade: false
OSD2:
Type: AWS::OpenSearchService::Domain
UpdatePolicy:
EnableVersionUpgrade: true

0 comments on commit a5993b8

Please sign in to comment.