Skip to content

Commit

Permalink
fixes images dimensions (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
Calm-Rock authored Jan 3, 2025
1 parent f62867a commit 14c4750
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion data/docs/alerts-management/terraform-provider-signoz.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ terraform {
}
```

Running `terraform init` will create `.terraform.lock.hcl` file, which locks the provider version for consistent usage.
Run:
```terraform
terraform init
```

This will create `.terraform.lock.hcl` file, which locks the provider version for consistent usage.

### Step 3: Configure signoz Provider

Expand Down Expand Up @@ -199,11 +204,19 @@ Fix the typo that caused this error:

When you're ready, `plan` your Terraform module to see diffs between your code and resources on the remote (SigNoz Cloud):

```terraform
terraform plan
```

<Figure src="/img/docs/alerts/terraform-provider-plan.webp" alt="Successful output from `terraform plan`" caption="Successful output from `terraform plan`" />

The output indicates that it plans to create a new resource(`signoz_alert`) with specified attributes like `alert`, `alert_type`, and `version`. The plan shows **1 resource to add**, with no changes or deletions.

Once you're satisfied that the diffs are as intended, `apply` your code for provisioning:

```terraform
terraform apply
```
<Figure src="/img/docs/alerts/terraform-provider-apply.webp" alt="Confirmation prompt during `terraform apply`" caption="Confirmation prompt during `terraform apply`" />

Terraform will wait for your confirmation before applying the change to the remote.
Expand Down
Binary file modified public/img/docs/alerts/terraform-provider-apply-complete.webp
Binary file not shown.
Binary file modified public/img/docs/alerts/terraform-provider-apply.webp
Binary file not shown.
Binary file modified public/img/docs/alerts/terraform-provider-plan.webp
Binary file not shown.

0 comments on commit 14c4750

Please sign in to comment.