DPZC-aws/zad_4_2/Dockerfile
Bartosz Karwacki fde4a2c7d2 zad 4.3
2022-01-04 01:51:58 +01:00

7 lines
194 B
Docker

FROM hashicorp/terraform:latest
COPY . .
RUN mkdir ~/.aws
RUN cp credentials ~/.aws
ENTRYPOINT terraform init && terraform apply -auto-approve && sleep 1500 && terraform destroy -auto-approve