Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Minor fix: Rule tf examples #1260

Merged
merged 2 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion avd_docs/azure/storage/AVD-AZU-0011/Terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Use a more recent TLS/SSL policy for the load balancer
name = "storageaccountname"
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location
min_tls_version = "TLS1_2"
}

```
Expand Down
2 changes: 2 additions & 0 deletions avd_docs/dockerfile/general/AVD-DS-0027/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ Cached package data should be cleaned after installation to reduce image size.

### Links
- https://docs.docker.com/develop/develop-images/dockerfile_best-practices/


2 changes: 1 addition & 1 deletion avd_docs/google/compute/AVD-GCP-0043/Terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Disable IP forwarding

```hcl
resource "google_compute_instance" "bad_example" {
resource "google_compute_instance" "good_example" {
name = "test"
machine_type = "e2-medium"
zone = "us-central1-a"
Expand Down
2 changes: 1 addition & 1 deletion avd_docs/google/compute/AVD-GCP-0045/Terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Enable Shielded VM Integrity Monitoring

```hcl
resource "google_compute_instance" "bad_example" {
resource "google_compute_instance" "good_example" {
name = "test"
machine_type = "e2-medium"
zone = "us-central1-a"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var terraformDiskEncryptionNoPlaintextKeyGoodExamples = []string{

var terraformDiskEncryptionNoPlaintextKeyBadExamples = []string{
`
resource "google_compute_disk" "good_example" {
resource "google_compute_disk" "bad_example" {
disk_encryption_key {
raw_key="b2ggbm8gdGhpcyBpcyBiYWQ="
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package compute

var terraformEnableShieldedVmImGoodExamples = []string{
`
resource "google_compute_instance" "bad_example" {
resource "google_compute_instance" "good_example" {
name = "test"
machine_type = "e2-medium"
zone = "us-central1-a"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package compute

var terraformNoIpForwardingGoodExamples = []string{
`
resource "google_compute_instance" "bad_example" {
resource "google_compute_instance" "good_example" {
name = "test"
machine_type = "e2-medium"
zone = "us-central1-a"
Expand Down