From 73055d1c02c6e17496337a9d1a2abc0349de1b92 Mon Sep 17 00:00:00 2001 From: Jye Cusch Date: Thu, 5 Dec 2024 13:20:42 +1100 Subject: [PATCH] fix(awstf): set correct env var name for resource resolver (#702) --- cloud/aws/deploytf/service.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cloud/aws/deploytf/service.go b/cloud/aws/deploytf/service.go index ed5ad24cb..179ddf7b2 100644 --- a/cloud/aws/deploytf/service.go +++ b/cloud/aws/deploytf/service.go @@ -47,11 +47,11 @@ func (a *NitricAwsTerraformProvider) Service(stack cdktf.TerraformStack, name st } jsiiEnv := map[string]*string{ - "NITRIC_STACK_ID": a.Stack.StackIdOutput(), - "NITRIC_ENVIRONMENT": jsii.String("cloud"), - "MIN_WORKERS": jsii.String(fmt.Sprint(config.Workers)), - "NITRIC_HTTP_PROXY_PORT": jsii.String(fmt.Sprint(3000)), - "NITRIC_AWS_RESOURCE_PLUGIN": jsii.String("tagging"), + "NITRIC_STACK_ID": a.Stack.StackIdOutput(), + "NITRIC_ENVIRONMENT": jsii.String("cloud"), + "MIN_WORKERS": jsii.String(fmt.Sprint(config.Workers)), + "NITRIC_HTTP_PROXY_PORT": jsii.String(fmt.Sprint(3000)), + "NITRIC_AWS_RESOURCE_RESOLVER": jsii.String("tagging"), } // TODO: Only apply to requesting services