From f6a09fde390681df9ab26f4ebcc33f3880f2e018 Mon Sep 17 00:00:00 2001 From: "Edwin.Avalos" Date: Tue, 20 Dec 2016 05:10:00 -0600 Subject: [PATCH] Updating docs for YAML list of strings --- DOCS.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/DOCS.md b/DOCS.md index ed7f0a4..ad04f8f 100644 --- a/DOCS.md +++ b/DOCS.md @@ -124,15 +124,17 @@ pipeline: root_dir: some/path/here ``` -## targets -You may want to only target a specific list of resources within your terraform code. To achieve this you can specify the `targets` parameter. If left undefined all resources will be planned/applied against as the default behavior. You can define multiple targets with a comma separated list. +## Targets +You may want to only target a specific list of resources within your terraform code. To achieve this you can specify the `targets` parameter. If left undefined all resources will be planned/applied against as the default behavior. ```yaml pipeline: terraform: image: jmccann/drone-terraform:0.5 plan: false - targets: aws_security_group.generic_sg, aws_security_group.app_sg + targets: + - aws_security_group.generic_sg + - aws_security_group.app_sg remote: backend: S3 config: