Browse Source

Update README and DOCS on new tags for drone-terraform

pull/32/merge
Jacob McCann 8 years ago
parent
commit
877e7415ef
  1. 16
      DOCS.md
  2. 6
      README.md

16
DOCS.md

@ -19,7 +19,7 @@ The following is a sample Terraform configuration in your .drone.yml file:
```yaml ```yaml
pipeline: pipeline:
terraform: terraform:
image: jmccann/drone-terraform:0.5 image: jmccann/drone-terraform:1
plan: false plan: false
remote: remote:
backend: S3 backend: S3
@ -45,7 +45,7 @@ CA Certificate. You can inject your CA Certificate into the plugin by using
```yaml ```yaml
pipeline: pipeline:
terraform: terraform:
image: jmccann/drone-terraform:0.5 image: jmccann/drone-terraform:1
plan: false plan: false
remote: remote:
backend: swift backend: swift
@ -70,7 +70,7 @@ want command is actually being ran.
```yaml ```yaml
pipeline: pipeline:
terraform: terraform:
image: jmccann/drone-terraform:0.5 image: jmccann/drone-terraform:1
plan: false plan: false
sensitive: true sensitive: true
remote: remote:
@ -90,7 +90,7 @@ You may want to assume another role before running the terraform commands. This
```yaml ```yaml
pipeline: pipeline:
terraform: terraform:
image: jmccann/drone-terraform:0.5 image: jmccann/drone-terraform:1
plan: false plan: false
remote: remote:
backend: S3 backend: S3
@ -110,7 +110,7 @@ You may want to change directories before applying the terraform commands. This
```yaml ```yaml
pipeline: pipeline:
terraform: terraform:
image: jmccann/drone-terraform:0.5 image: jmccann/drone-terraform:1
plan: false plan: false
remote: remote:
backend: S3 backend: S3
@ -132,7 +132,7 @@ Single target:
```yaml ```yaml
pipeline: pipeline:
terraform: terraform:
image: jmccann/drone-terraform:0.5 image: jmccann/drone-terraform:1
plan: false plan: false
targets: aws_security_group.generic_sg targets: aws_security_group.generic_sg
remote: remote:
@ -151,7 +151,7 @@ Multiple targets:
```yaml ```yaml
pipeline: pipeline:
terraform: terraform:
image: jmccann/drone-terraform:0.5 image: jmccann/drone-terraform:1
plan: false plan: false
targets: targets:
- aws_security_group.generic_sg - aws_security_group.generic_sg
@ -174,7 +174,7 @@ If you want to change Terraform's default parallelism (currently equal to 10) th
```yaml ```yaml
pipeline: pipeline:
terraform: terraform:
image: jmccann/drone-terraform:0.5 image: jmccann/drone-terraform:1
plan: false plan: false
remote: remote:
backend: S3 backend: S3

6
README.md

@ -39,5 +39,9 @@ Execute from the working directory:
docker run --rm \ docker run --rm \
-v $(pwd):$(pwd) \ -v $(pwd):$(pwd) \
-w $(pwd) \ -w $(pwd) \
jmccann/drone-terraform --plan jmccann/drone-terraform:1 --plan
``` ```
## Drone 0.4
Legacy `drone-terraform` plugin exists @ `jmccann/drone-terraform:0.4`

Loading…
Cancel
Save