diff --git a/terrascan/checks/encryption.py b/terrascan/checks/encryption.py index f9f72fda9..acb3938c9 100644 --- a/terrascan/checks/encryption.py +++ b/terrascan/checks/encryption.py @@ -359,7 +359,12 @@ def test_aws_ssm_parameter_encryption(self): self.v.enable_variable_expansion() self.v.resources( 'aws_ssm_parameter').property( - 'type').should_equal("SecureString") + 'type').should_equal('SecureString') + + def test_aws_instance(self): + self.v.error_if_property_missing() + self.v.enable_variable_expansion() + self.v.resources('aws_instance').resource_list def test_aws_ssm_parameter_kms(self): # Assert resource has a KMS with CMK