instance

Ahmeddevops-Github/instance/rds

Terraform Module HCL RDS
Install
module "instance" {
source = "Ahmeddevops-Github/instance/rds"
version = "2.0.0"
}
plain text: /constructs/tfmod-ahmeddevops-github-instance-rds/install.txt
⭐ Source on GitHub 📦 Registry page
README

Module to create RDS ## Create a file and add the following `` module "db" { source = "Ahmeddevops-Github/instance/rds" region = "us-east-2" subnet_ids = [ "subnet-05b608e6457f5e06a", "subnet-0546303e39a5cfe8c", "subnet-0f33d7a9c1aa313f6" ] security_group_name = "db" allowed_hosts = [ "0.0.0.0/0" ] db_name = "dbname" engine = "mysql" engine_version = "5.7" instance_class = "db.t2.micro" username = "foo" password = "foobarbaz" publicly_accessible = true allocated_storage = "20" } ` Create another file output.tf ` output "region" { value = "${module.db.region}" } output "subnet_list" { value = "${module.db.subnet_list}" } output "allows_hosts" { value = "${module.db.allowed_hosts}" } output "DB_NAME" { value = "${module.db.DB_NAME}" } ` Run ` terraform init terraform apply `` Ahmed DevOps ##

Inputs (12)
NameTypeDescriptionDefault
usernamestring required
publicly_accessiblestring required
subnet_idslist required
db_namestring required
engine_versionstring required
instance_classstring required
passwordstring required
allowed_hostslist required
allocated_storagestring required
regionstring required
security_group_namestring required
enginestring required
Outputs (4)
region
subnet_list
allowed_hosts
DB_NAME
Resources (3)
aws_db_instanceaws_db_subnet_groupaws_security_group
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.0
Cloud RDS
★ Stars0
Forks2
Total downloads778
Inputs12
Outputs4
Resources3
NamespaceAhmeddevops-Github
Updated