Skip to content

Latest commit

 

History

History
 
 

terraform

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Deploying the cloud storage provider

Deploying KHaaS bucket in AWS s3

Execute the following commands:

terraform init
terraform plan
terraform apply

Tip

If you want to avoid the interactive prompt, create a terraform.tfvars file with the bucket name (i.e. bucket=<your_bucket>).

We advise you to use Terraform S3 and dynamoDB backend, more info here.

  backend "s3" {
    key            = "terraform-state"
    region         = "us-east-1"
    bucket         = "<your_bucket>"
    encrypt        = true # Optional, S3 Bucket Server Side Encryption
    dynamodb_table = "<your_bucket>-terraform-state-lock"
  }