Skip to content

Commit

Permalink
chore: revive configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcressy committed Sep 28, 2023
1 parent ca67613 commit 6347d58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
10 changes: 10 additions & 0 deletions layers/config/vault_config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,14 @@ variable "vault_bootstrap_token" {
module "vault-config" {
source = "../../modules/vault-config"
vault_bootstrap_token = var.vault_bootstrap_token
}

import {
id = "eba0c66d-6133-7751-f438-346122ac3e84"
to = "vault-config.vault_identity_entity.ghactions_vault-config_rw"
}

import{
id = "5f4dc8aa-1826-70ea-b2f4-0018b5d5a133"
to = "vault-config.vault_identity_entity_alias.ghactions_vault-config_main"
}
11 changes: 0 additions & 11 deletions modules/vault-config/vault_identity_ghactions_vault-config.tf
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
import {
id = "eba0c66d-6133-7751-f438-346122ac3e84"
to = "vault_identity_entity.ghactions_vault-config_rw"
}

resource "vault_identity_entity" "ghactions_vault-config_rw" {
name = "ghactions_vault-config_rw"
policies = ["default", vault_policy.terraform-token.name, vault_policy.admin-all.name]
}


import{
id = "5f4dc8aa-1826-70ea-b2f4-0018b5d5a133"
to = "vault_identity_entity_alias.ghactions_vault-config_main"
}

resource "vault_identity_entity_alias" "ghactions_vault-config_main" {
name = "repo:jtcressy-home/vault-config:environment:vault-config"
mount_accessor = vault_jwt_auth_backend.jwt.accessor
Expand Down

0 comments on commit 6347d58

Please sign in to comment.