DPZC-IaaS-3.2/aws/Dockerfile

7 lines
193 B
Docker
Raw Normal View History

2021-11-26 14:08:58 +01:00
FROM hashicorp/terraform:latest
COPY . .
RUN mkdir ~/.aws
RUN cp credentials ~/.aws
ENTRYPOINT terraform init && terraform apply -auto-approve && sleep 300 && terraform destroy -auto-approve