0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-22 00:30:40 +00:00

A few doc and JSON fixes from review.

This commit is contained in:
John Engelman 2016-01-27 07:22:07 +01:00
parent 196bf5c2aa
commit a59a5a449d
3 changed files with 13 additions and 14 deletions

View File

@ -1,8 +1,8 @@
Use the Terraform plugin to apply the infrastructure configuration contained within the repository. The following parameters are used to configure this plugin: Use the Terraform plugin to apply the infrastructure configuration contained within the repository. The following parameters are used to configure this plugin:
* `dryRun` - if true, calculates a plan but does __NOT__ apply it. * `dry_run` - if true, calculates a plan but does __NOT__ apply it.
* `remote` - contains the configuration for the Terraform remote state tracking. * `remote` - contains the configuration for the Terraform remote state tracking.
* `backend` - the Terrafrom remote state backend to use. * `backend` - the Terraform remote state backend to use.
* `config` - a map of configuration parameters for the remote state backend. Each value is passed as a `-backend-config=<key>=<value>` option. * `config` - a map of configuration parameters for the remote state backend. Each value is passed as a `-backend-config=<key>=<value>` option.
* `vars` - a map of variables to pass to the Terraform `plan` and `apply` commands. Each value is passed as a `-var <key>=<value>` option. * `vars` - a map of variables to pass to the Terraform `plan` and `apply` commands. Each value is passed as a `-var <key>=<value>` option.
@ -11,8 +11,7 @@ The following is a sample Terraform configuration in your .drone.yml file:
```yaml ```yaml
deploy: deploy:
terraform: terraform:
image: objectpartners/drone-terraform:latest dry_run: false
dryRun: false
remote: remote:
backend: S3 backend: S3
config: config:

View File

@ -11,7 +11,7 @@ import (
type terraform struct { type terraform struct {
Remote remote `json:"remote"` Remote remote `json:"remote"`
DryRun bool `json:"dryRun"` DryRun bool `json:"dry_run"`
Vars map[string]string `json:"vars"` Vars map[string]string `json:"vars"`
} }