0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-12 17:10:39 +00:00

Update README and DOCS on new tags for drone-terraform

This commit is contained in:
Jacob McCann 2016-12-22 08:20:05 -06:00
parent 04a9dd1ead
commit 877e7415ef
2 changed files with 13 additions and 9 deletions

16
DOCS.md
View File

@ -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

View File

@ -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`