mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-22 00:30:40 +00:00
Update documentation to reflect new syntax for Drone 0.5
This commit is contained in:
parent
2b3b526bda
commit
794e51347a
20
DOCS.md
20
DOCS.md
@ -17,8 +17,9 @@ Use the Terraform plugin to apply the infrastructure configuration contained wit
|
||||
The following is a sample Terraform configuration in your .drone.yml file:
|
||||
|
||||
```yaml
|
||||
deploy:
|
||||
pipeline:
|
||||
terraform:
|
||||
image: jmccann/drone-terraform:0.5
|
||||
plan: false
|
||||
remote:
|
||||
backend: S3
|
||||
@ -42,8 +43,9 @@ CA Certificate. You can inject your CA Certificate into the plugin by using
|
||||
`ca_certs` key as described above. Below is an example.
|
||||
|
||||
```yaml
|
||||
deploy:
|
||||
pipeline:
|
||||
terraform:
|
||||
image: jmccann/drone-terraform:0.5
|
||||
plan: false
|
||||
remote:
|
||||
backend: swift
|
||||
@ -56,7 +58,7 @@ deploy:
|
||||
-----BEGIN CERTIFICATE-----
|
||||
asdfsadf
|
||||
asdfsadf
|
||||
-----END CERTIFICATE-----
|
||||
-----END CERTIFICATE-------
|
||||
```
|
||||
|
||||
## Suppress Sensitive Output
|
||||
@ -66,8 +68,9 @@ The output from the commands themselves will still display, it just won't show
|
||||
want command is actually being ran.
|
||||
|
||||
```yaml
|
||||
deploy:
|
||||
pipeline:
|
||||
terraform:
|
||||
image: jmccann/drone-terraform:0.5
|
||||
plan: false
|
||||
sensitive: true
|
||||
remote:
|
||||
@ -85,8 +88,9 @@ deploy:
|
||||
You may want to assume another role before running the terraform commands. This is useful for cross account access, where a central account ahs privileges to assume roles in other accounts. Using the current credentials, this role will be assumed and exported to environment variables. See [the discussion](https://github.com/hashicorp/terraform/issues/1275) in the Terraform issues.
|
||||
|
||||
```yaml
|
||||
deploy:
|
||||
pipeline:
|
||||
terraform:
|
||||
image: jmccann/drone-terraform:0.5
|
||||
plan: false
|
||||
remote:
|
||||
backend: S3
|
||||
@ -104,8 +108,9 @@ deploy:
|
||||
You may want to change directories before applying the terraform commands. This parameter is useful if you have multiple environments in different folders and you want to use different drone configurations to apply different environments.
|
||||
|
||||
```yaml
|
||||
deploy:
|
||||
pipeline:
|
||||
terraform:
|
||||
image: jmccann/drone-terraform:0.5
|
||||
plan: false
|
||||
remote:
|
||||
backend: S3
|
||||
@ -124,8 +129,9 @@ You may want to limit the number of concurrent operations as Terraform walks its
|
||||
If you want to change Terraform's default parallelism (currently equal to 10) then set the `parallelism` parameter.
|
||||
|
||||
```yaml
|
||||
deploy:
|
||||
pipeline:
|
||||
terraform:
|
||||
image: jmccann/drone-terraform:0.5
|
||||
plan: false
|
||||
remote:
|
||||
backend: S3
|
||||
|
Loading…
Reference in New Issue
Block a user