DPZC-IaaS-3.2/aws/Dockerfile
Bartosz Karwacki bcf868a621 aws gitea
2021-11-26 14:08:58 +01:00

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 300 && terraform destroy -auto-approve