-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New Template] state/documentdb - DocumentDB cluster #449
Conversation
state/documentdb.yaml
Outdated
Type: 'AWS::DocDB::DBCluster' | ||
Properties: | ||
AvailabilityZones: | ||
- {'Fn::ImportValue': !Sub '${ParentVPCStack}-AZA'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the impact of deploying to two AZs only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I improved the template to use all available AZs
MinValue: 1 | ||
MaxValue: 35 | ||
Default: 30 | ||
DBClusterParameterGroupName: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about adding a AWS::DocDB::DBClusterParameterGroup
resource as well? Might be interesting to be able to modify the change_stream_log_retention_duration
, for example. (see https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_groups-list_of_parameters.html)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done :)
KmsKeyId: !If [HasParentKmsKeyStack, {'Fn::ImportValue': !Sub '${ParentKmsKeyStack}-KeyId'}, !Ref 'AWS::NoValue'] | ||
MasterUsername: !Ref MasterUsername | ||
MasterUserPassword: !Ref MasterUserPassword | ||
Port: 27017 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be parametrize ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done :)
state/documentdb.yaml
Outdated
DBSubnetGroupName: !Ref DBSubnetGroup | ||
EnableCloudwatchLogsExports: | ||
- audit | ||
EngineVersion: '3.6.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
future version will change having a parameter with 3.6.0
as default
No description provided.