Skip to content

Commit

Permalink
fix(DBCluster, DBInstance): remove incorrect defaults from schema
Browse files Browse the repository at this point in the history
  • Loading branch information
zrfr committed Aug 26, 2024
1 parent 9ba2da0 commit fadd9df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
11 changes: 4 additions & 7 deletions aws-rds-dbcluster/aws-rds-dbcluster.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@
},
"DBClusterParameterGroupName": {
"description": "The name of the DB cluster parameter group to associate with this DB cluster.",
"type": "string",
"default": "default.aurora5.6"
"type": "string"
},
"DBSubnetGroupName": {
"description": "A DB subnet group that you want to associate with this DB cluster.",
Expand Down Expand Up @@ -174,9 +173,8 @@
"description": "Contains the secret managed by RDS in AWS Secrets Manager for the master user password."
},
"MonitoringInterval": {
"description": "The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0.",
"type": "integer",
"default": 0
"description": "The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is not to enable Enhanced Monitoring.",
"type": "integer"
},
"MonitoringRoleArn": {
"description": "The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.",
Expand Down Expand Up @@ -224,8 +222,7 @@
},
"RestoreType": {
"description": "The type of restore to be performed. You can specify one of the following values:\nfull-copy - The new DB cluster is restored as a full copy of the source DB cluster.\ncopy-on-write - The new DB cluster is restored as a clone of the source DB cluster.",
"type": "string",
"default": "full-copy"
"type": "string"
},
"ServerlessV2ScalingConfiguration": {
"description": "Contains the scaling configuration of an Aurora Serverless v2 DB cluster.",
Expand Down
5 changes: 1 addition & 4 deletions aws-rds-dbinstance/aws-rds-dbinstance.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@
"BackupRetentionPeriod": {
"type": "integer",
"minimum": 0,
"default": 1,
"description": "The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups."
},
"CACertificateIdentifier": {
Expand Down Expand Up @@ -334,8 +333,7 @@
},
"MonitoringInterval": {
"type": "integer",
"default": 0,
"description": "The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0."
"description": "The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is not to enable Enhanced Monitoring."
},
"MonitoringRoleArn": {
"type": "string",
Expand Down Expand Up @@ -388,7 +386,6 @@
"PromotionTier": {
"type": "integer",
"minimum": 0,
"default": 1,
"description": "A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance."
},
"PubliclyAccessible": {
Expand Down

0 comments on commit fadd9df

Please sign in to comment.