Skip to content

Commit 324f0d5

Browse files
Update github actions
1 parent 7a7b2a3 commit 324f0d5

File tree

2 files changed

+20
-14
lines changed

2 files changed

+20
-14
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,12 @@ updates:
88
go-modules:
99
patterns:
1010
- "*"
11+
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
interval: "weekly"
16+
groups:
17+
all-github-actions:
18+
patterns:
19+
- "*"

templates/guides/howto-uselocalprovider.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,18 @@ page_title: "Use local provider in terraform root moduls"
88

99
Use the local version of the terraform provider plugin to test the changes in an real life terraform root module using this provider.
1010

11-
## Step-By-Step
11+
1. Navigate to the root directory of the terraform provider and build the provider using the command `go build`. Make sure to run this command after every update to the provider.
1212

13-
1. Depending on the OS create the following file (see [CLI Configuration](https://developer.hashicorp.com/terraform/cli/config/config-file#locations))
13+
2. Depending on your operating system, create the appropriate configuration file for the CLI. On Linux/Apple, create `~/.terraformrc`. On Windows, create `%APPDATA\terraform.rc`. Inside the configuration file, add the following code:
1414

15-
- On Linux/Apple `~/.terraformrc`
16-
- On Windows `%APPDATA\terraform.rc`
15+
```hcl
16+
provider_installation {
17+
dev_overrides {
18+
"DigitecGalaxus/dg-servicebus" = "/mnt/c/Developement/terraform-provider-dg-servicebus"
19+
}
20+
}
21+
```
1722

18-
```hcl
19-
provider_installation {
20-
dev_overrides {
21-
"DigitecGalaxus/dg-servicebus" = "/mnt/c/Developement/terraform-provider-dg-servicebus"
22-
}
23-
}
24-
```
23+
3. Navigate to the root directory of the desired root module and run `terraform init -reconfigure`. You should see a warning message in the output indicating that the provider has been overwritten.
2524

26-
2. Go the root directory of the root module you want to deploy and run `terraform init -reconfigure`. Your should see the follwing message in the output:
27-
28-
![Provider overwrite warning](provider_overwrite.jpg)
25+
![Provider overwrite warning](provider_overwrite.jpg)

0 commit comments

Comments
 (0)