Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Ensure data sources always output HCL instead of JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
DrizzlyOwl committed May 30, 2024
1 parent 08b679a commit 787a863
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ If everything looks good, answer `yes` and wait for the new infrastructure to be
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
| <a name="requirement_azapi"></a> [azapi](#requirement\_azapi) | >= 1.13.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.67.0 |
| <a name="requirement_statuscake"></a> [statuscake](#requirement\_statuscake) | >= 2.1.0 |

Expand Down
4 changes: 4 additions & 0 deletions terraform/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ provider "azurerm" {
skip_provider_registration = true
}

provider "azapi" {
enable_hcl_output_for_data_source = true
}

provider "statuscake" {
api_token = var.statuscake_api_token
}
4 changes: 4 additions & 0 deletions terraform/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ terraform {
source = "StatusCakeDev/statuscake"
version = ">= 2.1.0"
}
azapi = {
source = "Azure/azapi"
version = ">= 1.13.0"
}
}
}

0 comments on commit 787a863

Please sign in to comment.