Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🌳 A sustainable Terraform Package which creates resources for Databases on AWS

License

NotificationsYou must be signed in to change notification settings

tedilabs/terraform-aws-db

GitHub release (latest SemVer)GitHubpre-commit

Terraform module which creates db related resources on AWS.

Target AWS Services

Terraform Modules fromthis package were written to manage the following AWS Services with Terraform.

  • AWS RDS (Relational Database Service)
    • (comming sooon!)
  • AWS ElastiCache
    • Redis Cluster
    • Redis User RBAC

Usage

ElastiCache Redis

module"cluster" {source="tedilabs/db/aws//modules/elasticache-redis-cluster"version="~> 0.2.0"name="example-redis-full"description="Managed by Terraform."redis_version="6.2"node_instance_type="cache.t4g.micro"# node_size          = 1sharding={    enabled=true    shard_size=3    replicas=2  }## Networkport=6379vpc_id=nullsubnet_group=nullpreferred_availability_zones=[]default_security_group={    eanbled=true    name="example-redis-full-default-sg"    description="Managed by Terraform."    ingress_rules= [      {        cidr_blocks= ["0.0.0.0/0"]      }    ]  }security_groups=[]## Parametersparameter_group={    enabled=true    name="example-redis-full-parameter-group"    description="Managed by Terraform."    parameters= {"lazyfree-lazy-eviction"="yes""lazyfree-lazy-expire"="yes""lazyfree-lazy-server-del"="yes""rename-commands"="KEYS BLOCKED"    }  }custom_parameter_group=null## Authpassword=sensitive("helloworld!#!!1234")user_groups=[]## Encryptionencryption_at_rest={    enabled=true    kms_key=null  }encryption_in_transit={    enabled=true  }## Backupbackup_enabled=truebackup_window="16:00-17:00"backup_retention=1backup_final_snapshot_name="example-redis-full-final"## Sourcesource_backup_name=nullsource_rdb_s3_arns=null## Maintenancemaintenance_window="fri:18:00-fri:20:00"auto_upgrade_minor_version_enabled=truenotification_sns_topic=null## Logginglogging_slow_log={    enabled=false    format="JSON"    destination_type="CLOUDWATCH_LOGS"    destination=null  }logging_engine_log={    enabled=false    format="JSON"    destination_type="CLOUDWATCH_LOGS"    destination=null  }## Attributesmulti_az_enabled=trueauto_failover_enabled=trueapply_immediately=truetimeouts={    create="60m"    update="40m"    delete="40m"  }tags={"project"="terraform-aws-db-examples"  }}

Examples

ElastiCache Redis

Self Promotion

Like this project? Follow the repository onGitHub. And if you're feeling especially charitable, followposquit0 on GitHub.

License

Provided under the terms of theApache License.

Copyright © 2022-2025,Byungjin Park.

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp