You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing the encryption_at_rest.feature with AWS RDS Instance and found that the rule is able to read the aws_db_instance resource however its not able to read the storage_encrypted=false property. it says : Failure: Resource aws_db_instance.default does not have encryption enabled (storage_encrypted). even though I have that property configured in my out file.
`. Running tests.
Feature: Resources should use encryption at rest while they are created # C:\Training\cloud\terraform-compliance\1.0.4\terraform-compliance-master\example\example_01\aws\testing-inprogress\encryption_at_rest.feature
In order to improve security
As engineers
We'll enforce encryption at rest
Scenario: RDS instances
Given I have AWS RDS instance defined
Then encryption must be enabled
Failure: Resource aws_db_instance.default does not have encryption enabled (storage_encrypted).`
I have attached the .tf , .out, and .out.json files for yur reference
you are right, its working as expected, somehow It was throwing the same Failure message when i had storage_encrypted : true yesterday, i guess it was a mistake.
also, in the older versions prior to 1.0.0, the failure message used to be different, meaning the message used to tell, what is the current value and what is the expected value also. I guess you have changed the Failure message format now which is fine...thanks!
Hi @eerkunt,
I was testing the encryption_at_rest.feature with AWS RDS Instance and found that the rule is able to read the aws_db_instance resource however its not able to read the storage_encrypted=false property. it says : Failure: Resource aws_db_instance.default does not have encryption enabled (storage_encrypted). even though I have that property configured in my out file.
`. Running tests.
Feature: Resources should use encryption at rest while they are created # C:\Training\cloud\terraform-compliance\1.0.4\terraform-compliance-master\example\example_01\aws\testing-inprogress\encryption_at_rest.feature
In order to improve security
As engineers
We'll enforce encryption at rest
I have attached the .tf , .out, and .out.json files for yur reference
aws_db_instance_encryption.zip
The text was updated successfully, but these errors were encountered: