-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproviders.tf
38 lines (35 loc) · 854 Bytes
/
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
# Setup the providers
terraform {
# Use a local backend
backend "local" {
path = "./state/terraform.tfstate"
}
## Configure the remote backend (Artifactory)
## This will store the state file in Artifactory.
## Follow https://jfrog.com/help/r/jfrog-artifactory-documentation/terraform-backend-repository
## Create a new terraform workspace in Artifactory named "jfrog"
# backend "remote" {
# hostname = "eldada.jfrog.io"
# organization = "terraform-backend"
# workspaces {
# prefix = "jfrog"
# }
# }
required_providers {
# Kubernetes provider
aws = {
source = "hashicorp/aws"
}
# Kubernetes provider
kubernetes = {
source = "hashicorp/kubernetes"
}
# Helm provider
helm = {
source = "hashicorp/helm"
}
}
}
provider "aws" {
region = var.region
}