diff --git a/terraform-plans/configs/dcgm-snap_main.tfvars b/terraform-plans/configs/dcgm-snap_main.tfvars index 19a283d..638f1b2 100644 --- a/terraform-plans/configs/dcgm-snap_main.tfvars +++ b/terraform-plans/configs/dcgm-snap_main.tfvars @@ -22,4 +22,9 @@ templates = { destination = ".github/workflows/release.yaml" vars = {} } + yamllint = { + source = "./templates/github/snap_yamllint.yaml.tftpl" + destination = ".yamllint" + vars = {} + } } diff --git a/terraform-plans/configs/tailscale-snap_main.tfvars b/terraform-plans/configs/tailscale-snap_main.tfvars index 67db85d..adfff4b 100644 --- a/terraform-plans/configs/tailscale-snap_main.tfvars +++ b/terraform-plans/configs/tailscale-snap_main.tfvars @@ -22,4 +22,9 @@ templates = { destination = ".github/workflows/release.yaml" vars = {} } + yamllint = { + source = "./templates/github/snap_yamllint.yaml.tftpl" + destination = ".yamllint" + vars = {} + } } diff --git a/terraform-plans/templates/github/snap_yamllint.yaml.tftpl b/terraform-plans/templates/github/snap_yamllint.yaml.tftpl new file mode 100644 index 0000000..669c864 --- /dev/null +++ b/terraform-plans/templates/github/snap_yamllint.yaml.tftpl @@ -0,0 +1,5 @@ +extends: default + +rules: + line-length: disable + document-start: disable