Warns about values that appear to be invalid based on azure-rest-api-specs.
Allowed values are:
- SQLDB
- SQLMI
- AzureDbForMySql
- AzureDbForPostgreSql
- MongoDb
- Unknown
resource "azurerm_database_migration_project" "foo" {
target_platform = ... // invalid value
}
$ tflint
1 issue(s) found:
Error: "..." is an invalid value as target_platform (azurerm_database_migration_project_invalid_target_platform)
on template.tf line 2:
2: target_platform = ... // invalid value
Reference: https://github.com/terraform-linters/tflint-ruleset-azurerm/blob/v0.1.0/docs/rules/azurerm_database_migration_project_invalid_target_platform.md
Requests containing invalid values will return an error when calling the API by terraform apply
.
Replace the warned value with a valid value.
This rule is automatically generated from azure-rest-api-specs. If you are uncertain about the warning, check the following API schema referenced by this rule.