Skip to content
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

chore: fix some property types #795

Merged
merged 1 commit into from
Mar 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions aws-aurora-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ provision:
pattern: ^[a-z][a-z0-9-]+$
prohibit_update: true
- field_name: cluster_instances
type: number
type: integer
details: Number of Aurora cluster instances. The first instance is a writer instance, and additional instances are readers and will be distributed across the AZs available in the region.
default: 3
- field_name: db_name
Expand Down Expand Up @@ -105,7 +105,7 @@ provision:
default: true
details: Copy all cluster tags to snapshots
- field_name: backup_retention_period
type: number
type: integer
details: |
The number of days (1-35) for which automatic backups are kept.
Automated backups cannot be disabled on Aurora.
Expand Down Expand Up @@ -134,7 +134,7 @@ provision:
See AWS Docs for more info: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Auditing.html
If set will enable the `audit` cloud_watch_log_export on the cluster.
- field_name: cloudwatch_log_group_retention_in_days
type: number
type: integer
details: |
Used in conjunction with `enable_audit_logging`. If provided will set the retention days for the log group containing the RDS audit logs. Defaults to 30 Days.
default: 30
Expand All @@ -146,7 +146,7 @@ provision:
default: ""
details: Used in conjunction with `enable_audit_logging`. If provided will set the KSM key to use for encrypting the Cloudwatch log group created for the RDS audit logs.
- field_name: monitoring_interval
type: number
type: integer
details: |
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
To disable collecting Enhanced Monitoring metrics, specify 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.
Expand Down Expand Up @@ -175,7 +175,7 @@ provision:
Once KMS key is set, it can never be changed.
default: ""
- field_name: performance_insights_retention_period
type: number
type: integer
details: |
The number of days to retain Performance Insights data.
When specifying `performance_insights_retention_period`, `performance_insights_enabled` needs to be set to true.
Expand Down
8 changes: 4 additions & 4 deletions aws-aurora-postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ provision:
pattern: ^[a-z][a-z0-9-]+$
prohibit_update: true
- field_name: cluster_instances
type: number
type: integer
details: Number of Aurora cluster instances. The first instance is a writer instance, and additional instances are readers and will be distributed across the AZs available in the region.
default: 3
- field_name: db_name
Expand Down Expand Up @@ -103,7 +103,7 @@ provision:
default: true
details: Copy all cluster tags to snapshots
- field_name: backup_retention_period
type: number
type: integer
details: |
The number of days (1-35) for which automatic backups are kept.
Automated backups cannot be disabled on Aurora.
Expand Down Expand Up @@ -132,7 +132,7 @@ provision:
The DB cluster parameter group contains the set of engine configuration parameters that apply throughout the Aurora DB cluster.
The DB cluster parameter group also contains default settings for the DB parameter group for the DB instances that make up the cluster.
- field_name: monitoring_interval
type: number
type: integer
details: |
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
To disable collecting Enhanced Monitoring metrics, specify 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.
Expand Down Expand Up @@ -161,7 +161,7 @@ provision:
Once KMS key is set, it can never be changed.
default: ""
- field_name: performance_insights_retention_period
type: number
type: integer
details: |
The number of days to retain Performance Insights data.
When specifying `performance_insights_retention_period`, `performance_insights_enabled` needs to be set to true.
Expand Down
10 changes: 5 additions & 5 deletions aws-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ provision:
details: Type of storage to be used. One of "standard" (magnetic), "gp2" (general purpose SSD), or "io1" (provisioned IOPS SSD).
default: "io1"
- field_name: iops
type: number
type: integer
details: The amount of provisioned IOPS. In order for this property to take effect, `storage_type` must be set to `io1`.
default: 3000
- field_name: storage_autoscale
Expand Down Expand Up @@ -218,7 +218,7 @@ provision:
Whether the DB instance should have deletion protection enabled.
The database can't be deleted when this value is set to `true`.
- field_name: backup_retention_period
type: number
type: integer
details: |
The number of days (1-35) for which automatic backups are kept.
Set the value to 0 to disable automated backups.
Expand All @@ -240,7 +240,7 @@ provision:
details: Copy all instance tags to snapshots
default: true
- field_name: monitoring_interval
type: number
type: integer
details: |
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
To disable collecting Enhanced Monitoring metrics, specify 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.
Expand Down Expand Up @@ -269,7 +269,7 @@ provision:
Once KMS key is set, it can never be changed.
default: ""
- field_name: performance_insights_retention_period
type: number
type: integer
details: |
The number of days to retain Performance Insights data.
When specifying `performance_insights_retention_period`, `performance_insights_enabled` needs to be set to true.
Expand All @@ -288,7 +288,7 @@ provision:
See AWS Docs for config options: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MySQL.Options.AuditPlugin.html#Appendix.MySQL.Options.AuditPlugin.Add
If set will enable the `audit` cloud_watch_log_export on the rds instance.
- field_name: cloudwatch_log_group_retention_in_days
type: number
type: integer
details: |
Used in conjunction with `enable_audit_logging`. If provided will set the retention days for the log group containing the RDS audit logs. Defaults to 30 Days.
default: 30
Expand Down
10 changes: 5 additions & 5 deletions aws-postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ provision:
details: Type of storage to be used. One of "standard" (magnetic), "gp2" (general purpose SSD), or "io1" (provisioned IOPS SSD).
default: "io1"
- field_name: iops
type: number
type: integer
details: The amount of provisioned IOPS. In order for this property to take effect, `storage_type` must be set to `io1`.
default: 3000
- field_name: require_ssl
Expand All @@ -65,7 +65,7 @@ provision:
default: false
details: Enable storage autoscaling up to storage_autoscale_limit_gb if true
- field_name: storage_autoscale_limit_gb
type: number
type: integer
details: Max storage size if storage_autoscale is true
default: 0
- field_name: storage_encrypted
Expand Down Expand Up @@ -216,7 +216,7 @@ provision:
details: Whether deletion protection is enabled. The database cannot be deleted when this value is set.
default: false
- field_name: backup_retention_period
type: number
type: integer
details: The number of days (1-35) for which automatic backups are kept. Set the value to 0 to disable automated backups. An outage occurs if you change the backup retention period from 0 to a nonzero value or vice versa. This applies to both Single-AZ and Multi-AZ DB instances.
default: 7
- <<: *nullable_string
Expand All @@ -231,7 +231,7 @@ provision:
details: Copy all instance tags to snapshots
default: true
- field_name: monitoring_interval
type: number
type: integer
details: |
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
To disable collecting Enhanced Monitoring metrics, specify 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.
Expand Down Expand Up @@ -260,7 +260,7 @@ provision:
Once KMS key is set, it can never be changed.
default: ""
- field_name: performance_insights_retention_period
type: number
type: integer
details: |
The number of days to retain Performance Insights data.
When specifying `performance_insights_retention_period`, `performance_insights_enabled` needs to be set to true.
Expand Down