Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 664 Bytes

File metadata and controls

51 lines (33 loc) · 664 Bytes

terraform with minio

how to running

  • install s3 provider
go get github.com/negronjl/terraform-provider-s3
go install github.com/negronjl/terraform-provider-s3
  • start minio s3 server

use docker-compose

docker-compose up -d

  • add plugin

note platform deps you os my os is mac so is will be darwin_amd64

you must copy terraform-provider-s3 binary file to  ./.terraform/plugins/<platform>/
  • init terraform
terraform init
  • view plan for this deploy
terraform  plan
  • deploy
terraform deploy
  • change bucket policy for user view webpage
with * Ready Only