Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
hedwigz committed Aug 23, 2022
1 parent ac5da81 commit a6a52f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
required_providers {
port = {
source = "port-labs/port-labs"
version = "~> 0.0.1"
version = "~> 0.2.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
port = {
source = "port-labs/port-labs"
version = "~> 0.0.1"
version = "~> 0.2.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions port/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ func Provider() *schema.Provider {
Optional: true,
},
"base_url": {
Type: schema.TypeString,
Optional: true,
Default: "https://api.getport.io",
Type: schema.TypeString,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("PORT_BASE_URL", "https://api.getport.io"),
},
},
ResourcesMap: map[string]*schema.Resource{
Expand Down

0 comments on commit a6a52f0

Please sign in to comment.