From d50d5cc9e1481b7adc12bbdece58d4e18acb4c33 Mon Sep 17 00:00:00 2001 From: Rak Siva Date: Wed, 10 Jul 2024 15:08:37 -0600 Subject: [PATCH 1/2] add a note to where the TF project will go so that users know they can inspect it --- src/pages/reference/providers/terraform.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/reference/providers/terraform.mdx b/src/pages/reference/providers/terraform.mdx index 3a4ba517a..adaf63f64 100644 --- a/src/pages/reference/providers/terraform.mdx +++ b/src/pages/reference/providers/terraform.mdx @@ -70,7 +70,9 @@ nitric up generate the Terraform code. -This will generate the Terraform code for your Nitric application. To deploy the application using Terraform, you can navigate into your Terraform stack directory and use the standard Terraform commands: +This will generate the Terraform code for your Nitric application into a folder named `cdktf.out` that you can inspect before deploying. + +To deploy the application using Terraform, you can navigate into your Terraform stack directory and use the standard Terraform commands: ```bash terraform init From 92805cad8bce03cb67a19f23da13bcc775e3316d Mon Sep 17 00:00:00 2001 From: Rak Siva Date: Thu, 11 Jul 2024 09:43:59 -0600 Subject: [PATCH 2/2] Update src/pages/reference/providers/terraform.mdx Co-authored-by: David Moore <4121492+davemooreuws@users.noreply.github.com> --- src/pages/reference/providers/terraform.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/reference/providers/terraform.mdx b/src/pages/reference/providers/terraform.mdx index adaf63f64..bc66b34c4 100644 --- a/src/pages/reference/providers/terraform.mdx +++ b/src/pages/reference/providers/terraform.mdx @@ -70,7 +70,7 @@ nitric up generate the Terraform code. -This will generate the Terraform code for your Nitric application into a folder named `cdktf.out` that you can inspect before deploying. +This will generate the Terraform code for your Nitric application into a folder named `cdktf.out` by default. You can change this via the `outdir` property and inspect the code before deploying. To deploy the application using Terraform, you can navigate into your Terraform stack directory and use the standard Terraform commands: