Skip to content

Commit

Permalink
Add ConfigStore + Vault to e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap committed Feb 10, 2025
1 parent a1ee070 commit 26ddd14
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/e2e/gateway.tf
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,19 @@ resource "konnect_gateway_mtls_auth" "my_mtlsauth" {
consumer_id = konnect_gateway_consumer.alice.id
control_plane_id = konnect_gateway_control_plane.tfdemo.id
}

# Config store and vault
resource "konnect_gateway_config_store" "my_configstore" {
name = "tf-config-store"

control_plane_id = konnect_gateway_control_plane.tfdemo.id
}

resource "konnect_gateway_vault" "my_vault" {
name = "konnect"
prefix = "my-konnect-vault"
config = jsonencode({
config_store_id = konnect_gateway_config_store.my_configstore.id
})
control_plane_id = konnect_gateway_control_plane.tfdemo.id
}

0 comments on commit 26ddd14

Please sign in to comment.