-
Notifications
You must be signed in to change notification settings - Fork 0
/
providers.tf
52 lines (46 loc) · 1.37 KB
/
providers.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
provider "azurerm" {
features {}
}
provider "aws" {
region = local.pre.aws.region
profile = local.pre.aws.profile
}
# provider "kubernetes" {
# host = module.aws.eks_config.host
# cluster_ca_certificate = module.aws.eks_config.cluster_ca_certificate
# #version = "~> 1.11"
# exec {
# api_version = module.aws.eks_config.api_version
# command = module.aws.eks_config.command
# args = module.aws.eks_config.args
# }
# # config_path = "data/${terraform.workspace}/eks/main/admin.kubeconfig"
# }
# provider "helm" {
# kubernetes {
# host = module.aws.eks_config.host
# cluster_ca_certificate = module.aws.eks_config.cluster_ca_certificate
# exec {
# api_version = module.aws.eks_config.api_version
# command = module.aws.eks_config.command
# args = module.aws.eks_config.args
# }
# # config_path = "data/${terraform.workspace}/eks/main/admin.kubeconfig"
# }
# }
# terraform {
# backend "azurerm" {
# resource_group_name = "mova"
# storage_account_name = "movastorage"
# container_name = "precticmem-pre"
# key = "terraform.tfstate"
# subscription_id = "ffce92c4-a130-4cda-83b8-92253b564bae"
# }
# }
terraform {
backend "s3" {
bucket = "dev-test-eks-terraform"
key = "01-vpc/terraform.tfstatbe"
region = "eu-west-1"
}
}