7 lines
193 B
Docker
7 lines
193 B
Docker
FROM hashicorp/terraform:latest
|
|
|
|
COPY . .
|
|
RUN mkdir ~/.aws
|
|
RUN cp credentials ~/.aws
|
|
|
|
ENTRYPOINT terraform init && terraform apply -auto-approve && sleep 600 && terraform destroy -auto-approve |