8 lines
194 B
Docker
8 lines
194 B
Docker
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
|