cloud-validation-framework
cloud-validation-framework copied to clipboard
Terraform Resources property type is not being preserved in snapshot during compliance
Consider following Terraform Resource Template:
resource azurerm_app_service "app-service1" {
app_service_plan_id = "test_azurerm_app_service_plan_id"
location = "test_location"
name = "test_app_service_name"
resource_group_name = "test_rg"
https_only = false
site_config {
min_tls_version = "1.1"
}
tags = {
git_file = "terraform/azure/app_service.tf"
}
}
While generating the snapshot file via prancer the min_tls_version = "1.1" become min_tls_version = 1.1 in snapshot json file.
The string value "1.1" being converted to float 1.1 . Its unexpected and type should be preserved.