From f57d7e3d4f94dac9352c4b63c6259f419048ec07 Mon Sep 17 00:00:00 2001 From: Jon Prentice <4913666+jon77p@users.noreply.github.com> Date: Fri, 29 Dec 2023 19:19:26 -0800 Subject: [PATCH] testing --- cdktf/secrets.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/cdktf/secrets.ts b/cdktf/secrets.ts index 35eebb86b..2f6c9f8a8 100644 --- a/cdktf/secrets.ts +++ b/cdktf/secrets.ts @@ -39,15 +39,18 @@ export class Secrets extends Construct { // Setup 1Password const setup = Setup1Password(this) + new cdktf.TerraformOutput(this, "op-path", { + value: setup.path, + }); + + return; + // Initialize 1Password provider - const opProvider = new onepassword.provider.OnepasswordProvider(this, "onepassword", { + new onepassword.provider.OnepasswordProvider(this, "onepassword", { serviceAccountToken: process.env.OP_SERVICE_ACCOUNT_TOKEN, opCliPath: cdktf.Fn.join("/", [setup.install.cwd, "op"]), }); - // Make sure opProvider depends on the install - opProvider.node.addDependency(setup.install); - // Fetch the 1Password Infrastructure vault const vault = new onepassword.dataOnepasswordVault.DataOnepasswordVault(this, "vault", { name: "Infrastructure",