Skip to content

Latest commit

 

History

History
61 lines (46 loc) · 3.5 KB

File metadata and controls

61 lines (46 loc) · 3.5 KB

PostgreSQL Example

squareops_avatar

SquareOps Technologies Your DevOps Partner for Accelerating cloud journey.


This example will be very useful for users who are new to a module and want to quickly learn how to use it. By reviewing the examples, users can gain a better understanding of how the module works, what features it supports, and how to customize it to their specific needs.

Requirements

Name Version
terraform >= 1.0
aws >= 5.0.0

Providers

Name Version
aws >= 5.0.0

Modules

Name Source Version
kms terraform-aws-modules/kms/aws ~> 1.0
rds-pg squareops/rds-postgresql/aws 2.0.0
vpc squareops/vpc/aws n/a

Resources

Name Type
aws_caller_identity.current data source
aws_eks_cluster.cluster data source
aws_eks_cluster_auth.cluster data source
aws_region.current data source

Inputs

No inputs.

Outputs

Name Description
db_name Database name
instance_endpoint Connection endpoint of the RDS instance.
instance_name Name of the database instance.
instance_password Password for accessing the database (Note: Terraform does not track this password after initial creation).
instance_username Master username for accessing the database.
master_user_secret_arn n/a
parameter_group_id ID of the parameter group associated with the RDS instance.
rds-mysql_replica_db_instance_name The name of the database instance
replica_instances_endpoints Connection endpoint of the RDS replica instances.
security_group ID of the security group associated with the RDS instance.
subnet_group_id ID of the subnet group associated with the RDS instance.