Comments (3)
not sure what you are seeing, but its not empty
terraform-aws-rds-aurora/variables.tf
Lines 1 to 719 in 7bf5933
variable "create" { | |
description = "Whether cluster should be created (affects nearly all resources)" | |
type = bool | |
default = true | |
} | |
variable "name" { | |
description = "Name used across resources created" | |
type = string | |
default = "" | |
} | |
variable "tags" { | |
description = "A map of tags to add to all resources" | |
type = map(string) | |
default = {} | |
} | |
################################################################################ | |
# DB Subnet Group | |
################################################################################ | |
variable "create_db_subnet_group" { | |
description = "Determines whether to create the database subnet group or use existing" | |
type = bool | |
default = false | |
} | |
variable "db_subnet_group_name" { | |
description = "The name of the subnet group name (existing or created)" | |
type = string | |
default = "" | |
} | |
variable "subnets" { | |
description = "List of subnet IDs used by database subnet group created" | |
type = list(string) | |
default = [] | |
} | |
################################################################################ | |
# Cluster | |
################################################################################ | |
variable "is_primary_cluster" { | |
description = "Determines whether cluster is primary cluster with writer instance (set to `false` for global cluster and replica clusters)" | |
type = bool | |
default = true | |
} | |
variable "cluster_use_name_prefix" { | |
description = "Whether to use `name` as a prefix for the cluster" | |
type = bool | |
default = false | |
} | |
variable "allocated_storage" { | |
description = "The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster. (This setting is required to create a Multi-AZ DB cluster)" | |
type = number | |
default = null | |
} | |
variable "allow_major_version_upgrade" { | |
description = "Enable to allow major engine version upgrades when changing engine versions. Defaults to `false`" | |
type = bool | |
default = false | |
} | |
variable "apply_immediately" { | |
description = "Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is `false`" | |
type = bool | |
default = null | |
} | |
variable "availability_zones" { | |
description = "List of EC2 Availability Zones for the DB cluster storage where DB cluster instances can be created. RDS automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a difference requiring resource recreation next Terraform apply" | |
type = list(string) | |
default = null | |
} | |
variable "backup_retention_period" { | |
description = "The days to retain backups for" | |
type = number | |
default = null | |
} | |
variable "backtrack_window" { | |
description = "The target backtrack window, in seconds. Only available for `aurora` engine currently. To disable backtracking, set this value to 0. Must be between 0 and 259200 (72 hours)" | |
type = number | |
default = null | |
} | |
variable "cluster_members" { | |
description = "List of RDS Instances that are a part of this cluster" | |
type = list(string) | |
default = null | |
} | |
variable "copy_tags_to_snapshot" { | |
description = "Copy all Cluster `tags` to snapshots" | |
type = bool | |
default = null | |
} | |
variable "database_name" { | |
description = "Name for an automatically created database on cluster creation" | |
type = string | |
default = null | |
} | |
variable "db_cluster_instance_class" { | |
description = "The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge. Not all DB instance classes are available in all AWS Regions, or for all database engines" | |
type = string | |
default = null | |
} | |
variable "db_cluster_db_instance_parameter_group_name" { | |
description = "Instance parameter group to associate with all instances of the DB cluster. The `db_cluster_db_instance_parameter_group_name` is only valid in combination with `allow_major_version_upgrade`" | |
type = string | |
default = null | |
} | |
variable "delete_automated_backups" { | |
description = "Specifies whether to remove automated backups immediately after the DB cluster is deleted" | |
type = bool | |
default = null | |
} | |
variable "deletion_protection" { | |
description = "If the DB instance should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`" | |
type = bool | |
default = null | |
} | |
variable "enable_global_write_forwarding" { | |
description = "Whether cluster should forward writes to an associated global cluster. Applied to secondary clusters to enable them to forward writes to an `aws_rds_global_cluster`'s primary cluster" | |
type = bool | |
default = null | |
} | |
variable "enabled_cloudwatch_logs_exports" { | |
description = "Set of log types to export to cloudwatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `error`, `general`, `slowquery`, `postgresql`" | |
type = list(string) | |
default = [] | |
} | |
variable "enable_http_endpoint" { | |
description = "Enable HTTP endpoint (data API). Only valid when engine_mode is set to `serverless`" | |
type = bool | |
default = null | |
} | |
variable "engine" { | |
description = "The name of the database engine to be used for this DB cluster. Defaults to `aurora`. Valid Values: `aurora`, `aurora-mysql`, `aurora-postgresql`" | |
type = string | |
default = null | |
} | |
variable "engine_mode" { | |
description = "The database engine mode. Valid values: `global`, `multimaster`, `parallelquery`, `provisioned`, `serverless`. Defaults to: `provisioned`" | |
type = string | |
default = "provisioned" | |
} | |
variable "engine_version" { | |
description = "The database engine version. Updating this argument results in an outage" | |
type = string | |
default = null | |
} | |
variable "final_snapshot_identifier" { | |
description = "The name of your final DB snapshot when this DB cluster is deleted. If omitted, no final snapshot will be made" | |
type = string | |
default = null | |
} | |
variable "global_cluster_identifier" { | |
description = "The global cluster identifier specified on `aws_rds_global_cluster`" | |
type = string | |
default = null | |
} | |
variable "iam_database_authentication_enabled" { | |
description = "Specifies whether or mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled" | |
type = bool | |
default = null | |
} | |
variable "iops" { | |
description = "The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster" | |
type = number | |
default = null | |
} | |
variable "kms_key_id" { | |
description = "The ARN for the KMS encryption key. When specifying `kms_key_id`, `storage_encrypted` needs to be set to `true`" | |
type = string | |
default = null | |
} | |
variable "manage_master_user_password" { | |
description = "Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if `master_password` is provided" | |
type = bool | |
default = true | |
} | |
variable "master_user_secret_kms_key_id" { | |
description = "The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key" | |
type = string | |
default = null | |
} | |
variable "master_password" { | |
description = "Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Required unless `manage_master_user_password` is set to `true` or unless `snapshot_identifier` or `replication_source_identifier` is provided or unless a `global_cluster_identifier` is provided when the cluster is the secondary cluster of a global database" | |
type = string | |
default = null | |
} | |
variable "master_username" { | |
description = "Username for the master DB user. Required unless `snapshot_identifier` or `replication_source_identifier` is provided or unless a `global_cluster_identifier` is provided when the cluster is the secondary cluster of a global database" | |
type = string | |
default = null | |
} | |
variable "network_type" { | |
description = "The type of network stack to use (IPV4 or DUAL)" | |
type = string | |
default = null | |
} | |
variable "port" { | |
description = "The port on which the DB accepts connections" | |
type = string | |
default = null | |
} | |
variable "preferred_backup_window" { | |
description = "The daily time range during which automated backups are created if automated backups are enabled using the `backup_retention_period` parameter. Time in UTC" | |
type = string | |
default = "02:00-03:00" | |
} | |
variable "preferred_maintenance_window" { | |
description = "The weekly time range during which system maintenance can occur, in (UTC)" | |
type = string | |
default = "sun:05:00-sun:06:00" | |
} | |
variable "replication_source_identifier" { | |
description = "ARN of a source DB cluster or DB instance if this DB cluster is to be created as a Read Replica" | |
type = string | |
default = null | |
} | |
variable "restore_to_point_in_time" { | |
description = "Map of nested attributes for cloning Aurora cluster" | |
type = map(string) | |
default = {} | |
} | |
variable "s3_import" { | |
description = "Configuration map used to restore from a Percona Xtrabackup in S3 (only MySQL is supported)" | |
type = map(string) | |
default = {} | |
} | |
variable "scaling_configuration" { | |
description = "Map of nested attributes with scaling properties. Only valid when `engine_mode` is set to `serverless`" | |
type = map(string) | |
default = {} | |
} | |
variable "serverlessv2_scaling_configuration" { | |
description = "Map of nested attributes with serverless v2 scaling properties. Only valid when `engine_mode` is set to `provisioned`" | |
type = map(string) | |
default = {} | |
} | |
variable "skip_final_snapshot" { | |
description = "Determines whether a final snapshot is created before the cluster is deleted. If true is specified, no snapshot is created" | |
type = bool | |
default = false | |
} | |
variable "snapshot_identifier" { | |
description = "Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot" | |
type = string | |
default = null | |
} | |
variable "source_region" { | |
description = "The source region for an encrypted replica DB cluster" | |
type = string | |
default = null | |
} | |
variable "storage_encrypted" { | |
description = "Specifies whether the DB cluster is encrypted. The default is `true`" | |
type = bool | |
default = true | |
} | |
variable "storage_type" { | |
description = "Determines the storage type for the DB cluster. Optional for Single-AZ, required for Multi-AZ DB clusters. Valid values for Single-AZ: `aurora`, `\"\"` (default, both refer to Aurora Standard), `aurora-iopt1` (Aurora I/O Optimized). Valid values for Multi-AZ: `io1` (default)." | |
type = string | |
default = null | |
} | |
variable "cluster_tags" { | |
description = "A map of tags to add to only the cluster. Used for AWS Instance Scheduler tagging" | |
type = map(string) | |
default = {} | |
} | |
variable "vpc_security_group_ids" { | |
description = "List of VPC security groups to associate to the cluster in addition to the security group created" | |
type = list(string) | |
default = [] | |
} | |
variable "cluster_timeouts" { | |
description = "Create, update, and delete timeout configurations for the cluster" | |
type = map(string) | |
default = {} | |
} | |
################################################################################ | |
# Cluster Instance(s) | |
################################################################################ | |
variable "instances" { | |
description = "Map of cluster instances and any specific/overriding attributes to be created" | |
type = any | |
default = {} | |
} | |
variable "auto_minor_version_upgrade" { | |
description = "Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window. Default `true`" | |
type = bool | |
default = null | |
} | |
variable "ca_cert_identifier" { | |
description = "The identifier of the CA certificate for the DB instance" | |
type = string | |
default = null | |
} | |
variable "db_parameter_group_name" { | |
description = "The name of the DB parameter group" | |
type = string | |
default = null | |
} | |
variable "instances_use_identifier_prefix" { | |
description = "Determines whether cluster instance identifiers are used as prefixes" | |
type = bool | |
default = false | |
} | |
variable "instance_class" { | |
description = "Instance type to use at master instance. Note: if `autoscaling_enabled` is `true`, this will be the same instance class used on instances created by autoscaling" | |
type = string | |
default = "" | |
} | |
variable "monitoring_interval" { | |
description = "The interval, in seconds, between points when Enhanced Monitoring metrics are collected for instances. Set to `0` to disable. Default is `0`" | |
type = number | |
default = 0 | |
} | |
variable "performance_insights_enabled" { | |
description = "Specifies whether Performance Insights is enabled or not" | |
type = bool | |
default = null | |
} | |
variable "performance_insights_kms_key_id" { | |
description = "The ARN for the KMS key to encrypt Performance Insights data" | |
type = string | |
default = null | |
} | |
variable "performance_insights_retention_period" { | |
description = "Amount of time in days to retain Performance Insights data. Either 7 (7 days) or 731 (2 years)" | |
type = number | |
default = null | |
} | |
variable "publicly_accessible" { | |
description = "Determines whether instances are publicly accessible. Default `false`" | |
type = bool | |
default = null | |
} | |
variable "instance_timeouts" { | |
description = "Create, update, and delete timeout configurations for the cluster instance(s)" | |
type = map(string) | |
default = {} | |
} | |
################################################################################ | |
# Cluster Endpoint(s) | |
################################################################################ | |
variable "endpoints" { | |
description = "Map of additional cluster endpoints and their attributes to be created" | |
type = any | |
default = {} | |
} | |
################################################################################ | |
# Cluster IAM Roles | |
################################################################################ | |
variable "iam_roles" { | |
description = "Map of IAM roles and supported feature names to associate with the cluster" | |
type = map(map(string)) | |
default = {} | |
} | |
################################################################################ | |
# Enhanced Monitoring | |
################################################################################ | |
variable "create_monitoring_role" { | |
description = "Determines whether to create the IAM role for RDS enhanced monitoring" | |
type = bool | |
default = true | |
} | |
variable "monitoring_role_arn" { | |
description = "IAM role used by RDS to send enhanced monitoring metrics to CloudWatch" | |
type = string | |
default = "" | |
} | |
variable "iam_role_name" { | |
description = "Friendly name of the monitoring role" | |
type = string | |
default = null | |
} | |
variable "iam_role_use_name_prefix" { | |
description = "Determines whether to use `iam_role_name` as is or create a unique name beginning with the `iam_role_name` as the prefix" | |
type = bool | |
default = false | |
} | |
variable "iam_role_description" { | |
description = "Description of the monitoring role" | |
type = string | |
default = null | |
} | |
variable "iam_role_path" { | |
description = "Path for the monitoring role" | |
type = string | |
default = null | |
} | |
variable "iam_role_managed_policy_arns" { | |
description = "Set of exclusive IAM managed policy ARNs to attach to the monitoring role" | |
type = list(string) | |
default = null | |
} | |
variable "iam_role_permissions_boundary" { | |
description = "The ARN of the policy that is used to set the permissions boundary for the monitoring role" | |
type = string | |
default = null | |
} | |
variable "iam_role_force_detach_policies" { | |
description = "Whether to force detaching any policies the monitoring role has before destroying it" | |
type = bool | |
default = null | |
} | |
variable "iam_role_max_session_duration" { | |
description = "Maximum session duration (in seconds) that you want to set for the monitoring role" | |
type = number | |
default = null | |
} | |
################################################################################ | |
# Autoscaling | |
################################################################################ | |
variable "autoscaling_enabled" { | |
description = "Determines whether autoscaling of the cluster read replicas is enabled" | |
type = bool | |
default = false | |
} | |
variable "autoscaling_max_capacity" { | |
description = "Maximum number of read replicas permitted when autoscaling is enabled" | |
type = number | |
default = 2 | |
} | |
variable "autoscaling_min_capacity" { | |
description = "Minimum number of read replicas permitted when autoscaling is enabled" | |
type = number | |
default = 0 | |
} | |
variable "autoscaling_policy_name" { | |
description = "Autoscaling policy name" | |
type = string | |
default = "target-metric" | |
} | |
variable "predefined_metric_type" { | |
description = "The metric type to scale on. Valid values are `RDSReaderAverageCPUUtilization` and `RDSReaderAverageDatabaseConnections`" | |
type = string | |
default = "RDSReaderAverageCPUUtilization" | |
} | |
variable "autoscaling_scale_in_cooldown" { | |
description = "Cooldown in seconds before allowing further scaling operations after a scale in" | |
type = number | |
default = 300 | |
} | |
variable "autoscaling_scale_out_cooldown" { | |
description = "Cooldown in seconds before allowing further scaling operations after a scale out" | |
type = number | |
default = 300 | |
} | |
variable "autoscaling_target_cpu" { | |
description = "CPU threshold which will initiate autoscaling" | |
type = number | |
default = 70 | |
} | |
variable "autoscaling_target_connections" { | |
description = "Average number of connections threshold which will initiate autoscaling. Default value is 70% of db.r4/r5/r6g.large's default max_connections" | |
type = number | |
default = 700 | |
} | |
################################################################################ | |
# Security Group | |
################################################################################ | |
variable "create_security_group" { | |
description = "Determines whether to create security group for RDS cluster" | |
type = bool | |
default = true | |
} | |
variable "security_group_name" { | |
description = "The security group name. Default value is (`var.name`)" | |
type = string | |
default = "" | |
} | |
variable "security_group_use_name_prefix" { | |
description = "Determines whether the security group name (`var.name`) is used as a prefix" | |
type = bool | |
default = true | |
} | |
variable "security_group_description" { | |
description = "The description of the security group. If value is set to empty string it will contain cluster name in the description" | |
type = string | |
default = null | |
} | |
variable "vpc_id" { | |
description = "ID of the VPC where to create security group" | |
type = string | |
default = "" | |
} | |
variable "security_group_rules" { | |
description = "Map of security group rules to add to the cluster security group created" | |
type = any | |
default = {} | |
} | |
variable "security_group_tags" { | |
description = "Additional tags for the security group" | |
type = map(string) | |
default = {} | |
} | |
################################################################################ | |
# Cluster Parameter Group | |
################################################################################ | |
variable "create_db_cluster_parameter_group" { | |
description = "Determines whether a cluster parameter should be created or use existing" | |
type = bool | |
default = false | |
} | |
variable "db_cluster_parameter_group_name" { | |
description = "The name of the DB cluster parameter group" | |
type = string | |
default = null | |
} | |
variable "db_cluster_parameter_group_use_name_prefix" { | |
description = "Determines whether the DB cluster parameter group name is used as a prefix" | |
type = bool | |
default = true | |
} | |
variable "db_cluster_parameter_group_description" { | |
description = "The description of the DB cluster parameter group. Defaults to \"Managed by Terraform\"" | |
type = string | |
default = null | |
} | |
variable "db_cluster_parameter_group_family" { | |
description = "The family of the DB cluster parameter group" | |
type = string | |
default = "" | |
} | |
variable "db_cluster_parameter_group_parameters" { | |
description = "A list of DB cluster parameters to apply. Note that parameters may differ from a family to an other" | |
type = list(map(string)) | |
default = [] | |
} | |
################################################################################ | |
# DB Parameter Group | |
################################################################################ | |
variable "create_db_parameter_group" { | |
description = "Determines whether a DB parameter should be created or use existing" | |
type = bool | |
default = false | |
} | |
variable "db_parameter_group_use_name_prefix" { | |
description = "Determines whether the DB parameter group name is used as a prefix" | |
type = bool | |
default = true | |
} | |
variable "db_parameter_group_description" { | |
description = "The description of the DB parameter group. Defaults to \"Managed by Terraform\"" | |
type = string | |
default = null | |
} | |
variable "db_parameter_group_family" { | |
description = "The family of the DB parameter group" | |
type = string | |
default = "" | |
} | |
variable "db_parameter_group_parameters" { | |
description = "A list of DB parameters to apply. Note that parameters may differ from a family to an other" | |
type = list(map(string)) | |
default = [] | |
} | |
variable "putin_khuylo" { | |
description = "Do you agree that Putin doesn't respect Ukrainian sovereignty and territorial integrity? More info: https://en.wikipedia.org/wiki/Putin_khuylo!" | |
type = bool | |
default = true | |
} | |
################################################################################ | |
# CloudWatch Log Group | |
################################################################################ | |
variable "create_cloudwatch_log_group" { | |
description = "Determines whether a CloudWatch log group is created for each `enabled_cloudwatch_logs_exports`" | |
type = bool | |
default = false | |
} | |
variable "cloudwatch_log_group_retention_in_days" { | |
description = "The number of days to retain CloudWatch logs for the DB instance" | |
type = number | |
default = 7 | |
} | |
variable "cloudwatch_log_group_kms_key_id" { | |
description = "The ARN of the KMS Key to use when encrypting log data" | |
type = string | |
default = null | |
} | |
################################################################################ | |
# Cluster Activity Stream | |
################################################################################ | |
variable "create_db_cluster_activity_stream" { | |
description = "Determines whether a cluster activity stream is created." | |
type = bool | |
default = false | |
} | |
variable "db_cluster_activity_stream_mode" { | |
description = "Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. One of: sync, async" | |
type = string | |
default = null | |
} | |
variable "db_cluster_activity_stream_kms_key_id" { | |
description = "The AWS KMS key identifier for encrypting messages in the database activity stream" | |
type = string | |
default = null | |
} | |
variable "engine_native_audit_fields_included" { | |
description = "Specifies whether the database activity stream includes engine-native audit fields. This option only applies to an Oracle DB instance. By default, no engine-native audit fields are included" | |
type = bool | |
default = false | |
} |
from terraform-aws-rds-aurora.
Hoo sorry
yes now I can see the variables.
Sorry for this :)
Many thanks
from terraform-aws-rds-aurora.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
from terraform-aws-rds-aurora.
Related Issues (20)
- terraform-aws-rds-aurora module should allow list of databases to be created in postgres instance/cluster HOT 2
- Enabling the RDS Data API for Postgres Serverless v2 HOT 8
- Allow setting cloud watch log groupclass HOT 4
- Global flag `performance_insights` needs to be especify in all instances to take effect HOT 4
- Support custom ignore_change HOT 9
- Add lifecyle ignore changes on AZs to aws_rds_cluster resource HOT 2
- Global flag `performance_insights` needs to be especify in all instances to take effect HOT 3
- rds-aurora mysql example contains two sets of db_parameter_group declarations HOT 2
- cluster_members property is empty and leads to cluster/instance recreation without making any configuration changes HOT 4
- Blue geen deployment in terraform HOT 9
- Passing null to `performance_insights_retention_period` is not being treated as not set HOT 2
- Aurora upgrade can not be triggered HOT 4
- Auto minor version upgrade & ignore changes HOT 10
- Support dynamic block for serverlessv2_scaling_configuration HOT 3
- Can't disable automatic password rotation when AWS manages database secret HOT 2
- InvalidParameterValue: The parameter ManageMasterUserPassword is not valid for engine mode: serverless HOT 2
- No way to Manipulate DataAPI in Aurora Serverless V2 HOT 1
- deleting parameter group failed HOT 3
- KMS_KEY_ID recreates database everytime HOT 1
- unable to create aurora global cluster HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-rds-aurora.