Skip to content

Commit

Permalink
fix(awstf): set correct env var name for resource resolver (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyecusch authored Dec 5, 2024
1 parent 9c94563 commit 73055d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cloud/aws/deploytf/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73055d1

Please sign in to comment.