Skip to content

Commit 018caf5

Browse files
committed
chore: init
0 parents  commit 018caf5

15 files changed

+874
-0
lines changed

.ecrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"Exclude": [
3+
"^flake\\.lock$"
4+
]
5+
}

.editorconfig

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[*]
2+
charset = utf-8
3+
end_of_line = lf
4+
insert_final_newline = true
5+
trim_trailing_whitespace = true
6+
7+
[*.{hcl,tf}]
8+
indent_size = 2
9+
indent_style = space
10+
max_line_length = 120
11+
12+
[*.nix]
13+
indent_size = 2
14+
indent_style = space
15+
max_line_length = 100

.envrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake . --no-pure-eval

.github/actionlint.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
self-hosted-runner:
3+
labels:
4+
- nixos

.github/workflows/nix.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Nix
3+
4+
on:
5+
pull_request_target:
6+
push:
7+
branches:
8+
- master
9+
10+
jobs:
11+
check:
12+
runs-on: [self-hosted, nixos]
13+
steps:
14+
- uses: actions/checkout@v4
15+
- run: nix flake check --no-pure-eval

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/.devenv/
2+
/.direnv/
3+
/.pre-commit-config.yaml
4+
/.terraform*
5+
/result*

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# terraform-gateway-module
2+
3+
A Terraform module that creates a GKE Gateway API resource using SSL
4+
certificates (usually by Cloudflare).
5+
6+
## Usage
7+
8+
```hcl
9+
module "gateway" {
10+
source = "..."
11+
12+
gke_host = "..."
13+
gke_token = "..."
14+
gke_cluster_ca_certificate = "..."
15+
gateway_certificates = [
16+
{
17+
domain = "alpha.example.com"
18+
certificate = "..."
19+
key = "..."
20+
},
21+
{
22+
domain = "beta.example.com"
23+
certificate = "..."
24+
key = "..."
25+
}
26+
]
27+
}
28+
```

0 commit comments

Comments
 (0)