Rename terraform-ipam CI Vault access -> terraform-infra (#111)
ci/woodpecker/push/apply Pipeline was successful

Follows the `terraform-ipam` -> `terraform-infra` repo rename. Renames the k8s auth role (`woodpecker_terraform_infra`), consul secret-backend role + ACL policy (`terraform-infra`, state path `infra/terraform/infra/*`), consul creds read policy, and kv read policy (`kv/service/terraform/infra`).

https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
Reviewed-on: #111
Co-authored-by: Ben Vincent <ben@unkin.net>
Co-committed-by: Ben Vincent <ben@unkin.net>
This commit was merged in pull request #111.
This commit is contained in:
2026-08-06 22:25:38 +10:00
committed by BenVincent
parent d61e985ef2
commit 95927202ba
7 changed files with 27 additions and 27 deletions
@@ -1,5 +1,5 @@
bound_service_account_names:
- terraform-ipam
- terraform-infra
bound_service_account_namespaces:
- woodpecker
token_ttl: 600
@@ -1,5 +1,5 @@
consul_roles:
- terraform-ipam
- terraform-infra
ttl: 120
max_ttl: 300
datacenters: []
@@ -0,0 +1,11 @@
---
rules:
- path: "consul_root/au/syd1/creds/terraform-infra"
capabilities:
- read
auth:
approle:
- terraform_infra
k8s/au/syd1:
- woodpecker_terraform_infra
@@ -1,11 +0,0 @@
---
rules:
- path: "consul_root/au/syd1/creds/terraform-ipam"
capabilities:
- read
auth:
approle:
- terraform_ipam
k8s/au/syd1:
- woodpecker_terraform_ipam
+13
View File
@@ -0,0 +1,13 @@
# Allow the terraform-infra runner to read the NetBox + KeaAPI tokens
# (netbox_token / kea_token fields) used by the netbox and kea providers.
---
rules:
- path: "kv/data/service/terraform/infra"
capabilities:
- read
auth:
approle:
- terraform_infra
k8s/au/syd1:
- woodpecker_terraform_infra
-13
View File
@@ -1,13 +0,0 @@
# Allow the Terraform IPAM runner to read the NetBox + KeaAPI tokens
# (netbox_token / kea_token fields) used by the netbox and kea providers.
---
rules:
- path: "kv/data/service/terraform/ipam"
capabilities:
- read
auth:
approle:
- terraform_ipam
k8s/au/syd1:
- woodpecker_terraform_ipam
@@ -1,4 +1,4 @@
key_prefix "infra/terraform/ipam/" {
key_prefix "infra/terraform/infra/" {
policy = "write"
}