This guide will assume that you are using the minikube deployment, but the storage backend can be used in any real kubernetes environment.
The first step will be to create one google storage bucket with private access
Create storage bucket tutorial link
Once the google storage bucket is created you will need to get the following:
project id
bucket name
JSON GCP credentials file with access to the storage bucket
Now you have all the information we will need to create a terrakube.yaml for our terrakube deployment with the following content:
Now you can install terrakube using the command:
This guide will assume that you are using the minikube deployment, but the storage backend can be used in any real kubernetes environment.
The first step will be to deploy a minio instance inside minikube in the terrakube namespace
MINIO helm deployment link
Create the file minio-setup.yaml that we can use to create the default user and buckets
Once the minio storage is installed lets get the service name.
The service name for the minio storage should be "miniostorage"
Once minio is installed with a bucket you will need to get the following:
access key
secret key
bucket name
endpoint (http://miniostorage:9000)
Now you have all the information we will need to create a terrakube.yaml for our terrakube deployment with the following content:
Now you can install terrakube using the command:
This guide will assume that you are using the minikube deployment, but the storage backend can be used in any real kubernetes environment.
The first step will be to create one azure storage account with the folling containers:
content
registry
tfoutput
tfstate
Create Azure Storage Account tutorial link
Once the storage account is created you will have to get the "Access Key"
Now you have all the information we will need to create a terrakube.yaml for our terrakube deployment with the following content:
Now you can install terrakube using the command
This guide will assume that you are using the minikube deployment, but the storage backend can be used in any real kubernetes environment.
The first step will be to create one s3 bucket with private access
Create S3 bucket tutorial
Once the s3 bucket is created you will need to get the following:
access key
secret key
bucket name
region
Now you have all the information we will need to create a terrakube.yaml for our terrakube deployment with the following content:
Now you can install terrakube using the command: