Skip to content

Commit

Permalink
chore: regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateus Nardo committed Feb 13, 2024
1 parent c4f408d commit 570c534
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 16 deletions.
1 change: 0 additions & 1 deletion docs/data-sources/product.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,5 @@ Read-Only:
Read-Only:

- `entity_id` (String)
- `tags` (List of String)


6 changes: 2 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,18 @@
page_title: "epilot-product Provider"
subcategory: ""
description: |-
---

# epilot-product Provider



## Example Usage

```terraform
terraform {
required_providers {
epilot-product = {
source = "epilot-dev/epilot-product"
version = "0.5.0"
version = "0.5.2"
}
}
}
Expand All @@ -28,6 +25,7 @@ provider "epilot-product" {
```

<!-- schema generated by tfplugindocs -->

## Schema

### Optional
Expand Down
8 changes: 0 additions & 8 deletions docs/resources/product.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ resource "epilot-product_product" "my_product" {
internal_name = "...my_internal_name..."
name = "Juan Morar Jr."
type = "product"
product_images = {
dollar_relation = [
{
entity_id = "19f56123-a334-4ecd-a2a6-d31d275b439d"
}
]
}
}
```

Expand Down Expand Up @@ -107,7 +100,6 @@ Optional:
Optional:

- `entity_id` (String)
- `tags` (List of String)



Expand Down
2 changes: 1 addition & 1 deletion internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (p *EpilotProductProvider) Configure(ctx context.Context, req provider.Conf
ServerURL := data.ServerURL.ValueString()

if ServerURL == "" {
ServerURL = "https://product.sls.epilot.io"
ServerURL = "https://product.dev.sls.epilot.io"
}

epilotAuth := new(string)
Expand Down
4 changes: 2 additions & 2 deletions internal/sdk/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (

// ServerList contains the list of servers available to the SDK
var ServerList = []string{
"https://product.sls.epilot.io",
"https://product.dev.sls.epilot.io",
// Production server
"https://product.sls.epilot.io",
"https://product.dev.sls.epilot.io",
}

// HTTPClient provides an interface for suplying the SDK with a custom HTTP client
Expand Down

0 comments on commit 570c534

Please sign in to comment.