Giter VIP home page Giter VIP logo

terraform-aws-rds's Introduction

Example

module postgres-rds {
 source = "../../../../../terraform-aws-rds"
 db_engine_name="postgres"
 db_engine_version="10.6"
 db_param_grp_family="postgres10"
 db_option_group_engine_name="postgres"
 db_option_group_major_engine_version="10"
 db_allocated_storage=100  # default is 5 Gb
 db_max_allocated_storage=200 # it can do vertical scaling till 200 Gb 
 db_storage_type="gp2" # default is gp2  
 db_instance_class="db.t2.micro"
 db_username="myusername"
 db_password="strongpassword" 
 db_port=5432
 db_storage_encrypted=false
 db_vpc_security_group_ids=[sg-list
   ]
 db_subnet_group_ids=subnet-group-ids
 db_allow_major_version_upgrade=false
 db_apply_changes_immediately=false 
 db_auto_minor_version_upgrade=true
 db_backup_retention_period=7 # 0 indicates dont perform any backup
 db_backup_window="04:00-05:00"
 db_maintenance_window="Mon:00:00-Mon:02:00"
 db_is_multi_az=false # true is good for HA
 db_is_copy_tags_to_snapshot=true
 db_delete_automated_backups=true
 db_enabled_cloudwatch_logs_exports=["postgresql", "upgrade"]
 region      = "eu-central-1" # change it based on region
 region_id   = "euc1"         # change it in context of region 
 seq_id      = "001"
 environment = "n"        # change it
 cost_centre = "sys"      # change it 	
 build_date  = "26042020" # change it
 version_id  = "001"      #change it
 app_service = "aflw"
 vpc_seq_id  = "001"
 common_tags = local.common_tags
}

terraform-aws-rds's People

Contributors

polganesh avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.