DPZC-aws/zad_4_1/Dockerfile

8 lines
194 B
Docker
Raw Permalink Normal View History

2022-01-04 01:51:58 +01:00
FROM hashicorp/terraform:latest
COPY . .
RUN mkdir ~/.aws
RUN cp credentials ~/.aws
ENTRYPOINT terraform init && terraform apply -auto-approve && sleep 120 && terraform destroy -auto-approve