Skip to content

Commit

Permalink
chore: update example with variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateus Nardo committed Oct 1, 2024
1 parent 3c3d834 commit 3b68dab
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion examples/provider/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ terraform {
}
}

variable "epilot_auth" {
type = string
}
variable "template_variables_api_url" {
type = string
default = "https://template-variables-api.dev.sls.epilot.io"
}

provider "epilot-variable" {
# Configuration options
epilot_auth = var.epilot_auth
server_url = var.template_variables_api_url
}

resource "epilot-variable_custom_variable" "my_variable" {
# (resource arguments)
}

0 comments on commit 3b68dab

Please sign in to comment.