mirror of
https://github.com/inspec/inspec
synced 2024-12-19 09:33:20 +00:00
fc3f1708c4
Signed-off-by: HackerShark <melsharkawi@mitre.org>
25 lines
789 B
HCL
25 lines
789 B
HCL
# Contains resources and outputs related to testing the aws_rds_* resources.
|
|
|
|
#======================================================#
|
|
# RDS Instances
|
|
#======================================================#
|
|
|
|
|
|
resource "aws_db_instance" "default" {
|
|
allocated_storage = 20
|
|
storage_type = "gp2"
|
|
engine = "mysql"
|
|
engine_version = "5.6.37"
|
|
instance_class = "db.t2.micro"
|
|
identifier = "test-instance-id"
|
|
name = "test_instance"
|
|
username = "testuser"
|
|
password = "testpassword"
|
|
parameter_group_name = "default.mysql5.6"
|
|
skip_final_snapshot = true
|
|
}
|
|
|
|
output "rds_db_instance_id" {
|
|
description = "The RDS instance ID"
|
|
value = "${aws_db_instance.default.id}"
|
|
}
|