Skip to content
Snippets Groups Projects
Commit f47f92ca authored by Your Name's avatar Your Name
Browse files

Deleting the temporary files and output examples

parent 1449a450
No related branches found
No related tags found
No related merge requests found
module "db" {
source = "terraform-aws-modules/rds/aws"
version = "~> 2.0"
identifier = "demodb"
engine = "mysql"
engine_version = "5.7.19"
instance_class = "db.t2.large"
allocated_storage = 5
name = "demodb"
username = "user"
password = aws_ssm_parameter.pw.value
port = "3306"
maintenance_window = "Mon:00:00-Mon:03:00"
backup_window = "03:00-06:00"
}
resource "aws_ssm_parameter" "pw" {
name = "pw"
type = "SecureString"
value = "SuperSecurePassword"
}
\ No newline at end of file
module "acme_finance_bucket" {
source = "./modules/acme_bucket"
bucket_name = "finance-reports"
cost_centre = "CC001"
s3_logging_bucket = var.acme_s3_logging_bucket
}
<!DOCTYPE html> <html> <style> table, th, td { border:1px solid black;}</style> <body> <h2>Scan results</h2> <table style='width:100%'> <tr> <th>Scan</th><th>Outcome</th><th>Files</th> </tr><tr><td>tflint</td><td>True</td><td>['outputs.tf', 'main.tf', 'variables.tf']</td></tr><tr><td>tfsec</td><td>True</td><td>['outputs.tf', 'main.tf', 'variables.tf']</td></tr></tr></table></body></html>
\ No newline at end of file
{"tflint": true, "tfsec": true}
\ No newline at end of file

 times
------------------------------------------
 disk i/o  506.607µs
 parsing HCL  8.936µs
 evaluating values  104.034µs
 running checks  743.522µs

counts
------------------------------------------
 files loaded  3
 blocks  11
 evaluated blocks  11
 modules  0
 module blocks  0
 ignored checks  0

results
------------------------------------------
 critical  0
 high  0
 medium  0
 low  0

No problems detected!

\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment