dpzc/lab4/4.1-aws/Dockerfile

7 lines
192 B
Docker
Raw Normal View History

2023-01-22 18:42:08 +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