rspec/rules/S4423/terraform/highlighting.adoc
hendrik-buchwald-sonarsource 936b04b3b0
Create rule S4423[terraform]: Add AWS Elasticsearch Domain (#481)
* Add description

* Fix wrong name

* Add code sample introduction

Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2022-01-10 13:37:41 +00:00

19 lines
763 B
Plaintext

=== Highlighting
For `aws_elasticsearch_domain`:
* Highlight `tls_security_policy` if it is specified but has the wrong value
* Highlight `domain_endpoint_options` if it is specified but does not contain `tls_security_policy`
* Highlight resource if `domain_endpoint_options` is not specified at all
For `aws_api_gateway_domain_name`:
* Highlight `security_policy` if it is specified but has the wrong value
* Highlight resource if `security_policy` is not specified at all
For `aws_apigatewayv2_domain_name`:
* Highlight `security_policy` if it is specified but has the wrong value
* Highlight `domain_name_configuration` if it is specified but does not contain `security_policy`
* Highlight resource if `domain_name_configuration` is not specified at all