|
@ -54,17 +54,10 @@ pipeline: |
|
|
+ sensitive: true |
|
|
+ sensitive: true |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
Example configuration with state tracked via remote. You will need a file |
|
|
Example configuration with state tracked via remote. You will need a |
|
|
that specifies the backend type along with ability to pass options via the `.drone.yml`. |
|
|
[backend configuration](https://www.terraform.io/docs/backends/config.html) |
|
|
|
|
|
specified in a `.tf` file. You can then pass additional options via the `.drone.yml`. |
|
|
|
|
|
|
|
|
`backend.tf` |
|
|
|
|
|
``` |
|
|
|
|
|
terraform { |
|
|
|
|
|
backend "s3" {} |
|
|
|
|
|
} |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
`.drone.yml` |
|
|
|
|
|
```diff |
|
|
```diff |
|
|
pipeline: |
|
|
pipeline: |
|
|
terraform: |
|
|
terraform: |
|
|