Change plugin usage
This commit is contained in:
@ -1,4 +1,8 @@
|
|||||||
FROM hashicorp/tfci
|
FROM amazonlinux:2023
|
||||||
|
|
||||||
|
RUN yum install -y yum-utils shadow-utils
|
||||||
|
RUN yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo
|
||||||
|
RUN yum -y install terraform
|
||||||
|
|
||||||
LABEL maintainer="docker@2martens.de" description="Terraform for Drone"
|
LABEL maintainer="docker@2martens.de" description="Terraform for Drone"
|
||||||
COPY tool.sh /usr/local/bin
|
COPY tool.sh /usr/local/bin
|
||||||
|
|||||||
@ -12,7 +12,6 @@ This Drone plugin uses the Terraform CLI and makes it compatible with Drone.
|
|||||||
image: 2martens/terraform-drone-plugin
|
image: 2martens/terraform-drone-plugin
|
||||||
settings:
|
settings:
|
||||||
api_token: <api_token>
|
api_token: <api_token>
|
||||||
cloud_organization: <cloud_organization>
|
|
||||||
path: <path relative to Git repo>
|
path: <path relative to Git repo>
|
||||||
args: <args>
|
args: <args>
|
||||||
```
|
```
|
||||||
@ -39,8 +38,6 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
api_token:
|
api_token:
|
||||||
from_secret: api_token
|
from_secret: api_token
|
||||||
cloud_organization:
|
|
||||||
from_secret: cloud_organization
|
|
||||||
path: terraform
|
path: terraform
|
||||||
args: plan
|
args: plan
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user