Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
Took 8 minutes
  • Loading branch information
tdabasinskas committed Jan 5, 2024
1 parent e6d9a8a commit 5826951
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backstage/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import (

const testAccProviderConfig = `
provider "backstage" {
headers = {
"Custom-Header" = "header_value"
}
}
`

Expand Down
4 changes: 4 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ provider "backstage" {
base_url = "https://demo.backstage.io"
# Override the name of default namespace:
default_namespace = "custom-default"
# Set custom headers (might be useful for authentication):
headers = {
"Custom-Header" = "header_value"
}
}
```

Expand Down
4 changes: 4 additions & 0 deletions examples/provider/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ provider "backstage" {
base_url = "https://demo.backstage.io"
# Override the name of default namespace:
default_namespace = "custom-default"
# Set custom headers (might be useful for authentication):
headers = {
"Custom-Header" = "header_value"
}
}

0 comments on commit 5826951

Please sign in to comment.