Skip to content

Commit

Permalink
Add missing required provider section in terraform docs provider exam…
Browse files Browse the repository at this point in the history
…ple (#101)

* Add required provider block to provider example

* Adjust comment
  • Loading branch information
jamesgawn committed Oct 25, 2021
1 parent aa39c6f commit a0f919e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/provider/provider.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Set the variable value in *.tfvars file or using -var="civo_token=..." CLI flag
variable "civo_token" {}

# Specify required provider as maintained by civo
terraform {
required_providers {
civo = {
source = "civo/civo"
}
}
}

# Configure the Civo Provider
provider "civo" {
token = var.civo_token
Expand Down

0 comments on commit a0f919e

Please sign in to comment.