Skip to content

Commit

Permalink
Fix provider func mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
ewilde committed Sep 21, 2018
1 parent a538479 commit 13502ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/authenticated/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
provider "openfaas" {
version = "~> 0.1"
uri = "https://localhost:8080"
uri = "http://localhost:8080"
user_name = "admin"
password = "${var.provider_password}"
}
Expand All @@ -17,4 +17,4 @@ resource "openfaas_function" "function_test" {
annotations {
CreatedDate = "Mon Sep 3 07:15:55 BST 2018"
}
}
}
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package main

import (
"github.com/ewilde/terraform-provider-openfaas/openfaas"
"github.com/hashicorp/terraform/plugin"
"github.com/terraform-providers/terraform-provider-aws/aws"
)

func main() {
plugin.Serve(&plugin.ServeOpts{
ProviderFunc: aws.Provider})
ProviderFunc: openfaas.Provider})
}

0 comments on commit 13502ea

Please sign in to comment.