add config for ecr repo and remote backend

This commit is contained in:
Nana Janashia
2020-12-20 14:42:33 +01:00
parent 165bd326cb
commit 9f96f5fac1
4 changed files with 25 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
terraform {
backend "s3" {
bucket = "myapp-cluster-bucket"
key = "myapp/state.tfstate"
region = "eu-west-3"
}
}
provider "kubernetes" {
load_config_file = "false"
host = data.aws_eks_cluster.myapp-cluster.endpoint