Skip to content

Commit

Permalink
Add proper providers with auth config for each resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Nishu Goel committed Jan 16, 2024
1 parent 9addbdf commit 4de975d
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/provider/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ terraform {
}
}

variable epilot_auth {
type = string
}

provider "epilot-product" {
# Configuration options
epilot_auth = var.epilot_auth
}
17 changes: 17 additions & 0 deletions examples/resources/epilot-product_price/provider.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
terraform {
required_providers {
epilot-product = {
source = "epilot-dev/epilot-product"
version = "0.4.1"
}
}
}

variable epilot_auth {
type = string
}

provider "epilot-product" {
# Configuration options
epilot_auth = var.epilot_auth
}
17 changes: 17 additions & 0 deletions examples/resources/epilot-product_product/provider.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
terraform {
required_providers {
epilot-product = {
source = "epilot-dev/epilot-product"
version = "0.4.1"
}
}
}

variable epilot_auth {
type = string
}

provider "epilot-product" {
# Configuration options
epilot_auth = var.epilot_auth
}
17 changes: 17 additions & 0 deletions examples/resources/epilot-product_tax/provider.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
terraform {
required_providers {
epilot-product = {
source = "epilot-dev/epilot-product"
version = "0.4.1"
}
}
}

variable epilot_auth {
type = string
}

provider "epilot-product" {
# Configuration options
epilot_auth = var.epilot_auth
}

0 comments on commit 4de975d

Please sign in to comment.