Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed Nov 18, 2021
1 parent be30838 commit dffe868
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ config:

#### Github OIDC

Create an OAuth application within your Github organization and use the Github login:
Create an OAuth application within your Github organization. Set the callback url to `http|https://{tfstater-instance}/account/github/exchange` and use the Github login:

```yaml
config:
Expand Down Expand Up @@ -151,12 +151,14 @@ config:
Login to your TFStater instance and through the settings view obtain your Api-Key. Then you just need define the `backend` block in you Terraform code:

```terraform
backend "http" {
address = "https://{tfstater-instance}/terraform/{state-name}"
lock_address = "https://{tfstater-instance}/terraform/{state-name}/lock"
unlock_address = "https://{tfstater-instance}/terraform/{state-name}/lock"
lock_method = "POST"
unlock_method = "DELETE"
terraform {
backend "http" {
address = "https://{tfstater-instance}/terraform/{state-name}"
lock_address = "https://{tfstater-instance}/terraform/{state-name}/lock"
unlock_address = "https://{tfstater-instance}/terraform/{state-name}/lock"
lock_method = "POST"
unlock_method = "DELETE"
}
}
```

Expand Down

0 comments on commit dffe868

Please sign in to comment.