Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>
  • Loading branch information
soumyo13 committed Sep 30, 2021
1 parent d7c45fe commit 9591dfd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/integration/build/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -789,10 +789,10 @@ output "aws_network_interface_id1" {
value = aws_network_interface.aws_network_interface_test.id
}

output "dashbaord_name" {
output "dashboard_name" {
value = aws_cloudwatch_dashboard.main.dashboard_name
}

output "dashbaord_arn" {
output "dashboard_arn" {
value = aws_cloudwatch_dashboard.main.dashboard_arn
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
dashboard_names = attribute(:dashboard_name, value: '', description: '')

title 'Test single AWS CloudWatch Dashboard'

control 'aws-cloudwatch-dashboard-1.0' do

impact 1.0
Expand Down
5 changes: 3 additions & 2 deletions test/integration/verify/controls/aws_cloudwatch_dashboards.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
dashboard_arns = attribute(:dashboard_arn, value: '', description: 'The AWS EC2 Instance type.')
dashboard_names = attribute(:dashboard_name, value: '', description: 'The AWS EC2 image id.')

title 'Test single AWS EC2 Dashboard'
control 'aws-cloudwatch-dashboard-1.0' do
title 'Test plural AWS CloudWatch Dashboard'

control 'aws-cloudwatch-dashboards-1.0' do

impact 1.0
title 'Ensure AWS cloudwatch dashboards has the correct properties.'
Expand Down

0 comments on commit 9591dfd

Please sign in to comment.