diff --git a/docs/resources/application.md b/docs/resources/application.md index 43ed0df..6bad456 100644 --- a/docs/resources/application.md +++ b/docs/resources/application.md @@ -10,7 +10,15 @@ description: |- Application resource - +## Example Usage + +```terraform +resource "chirpstack_application" "application" { + tenant_id = chirpstack_tenant.tenant.id + name = "myapp" + description = "My Chirpstack Application" +} +``` ## Schema diff --git a/docs/resources/device_profile.md b/docs/resources/device_profile.md index 280bc8e..8bc5a29 100644 --- a/docs/resources/device_profile.md +++ b/docs/resources/device_profile.md @@ -10,7 +10,26 @@ description: |- DeviceProfile resource - +## Example Usage + +```terraform +resource "chirpstack_device_profile" "mydeviceprofile" { + tenant_id = chirpstack_tenant.tenant.id + name = "mydeviceprofile" + description = "My Device Profile" + mac_version = "LORAWAN_1_0_3" + region = "AU915" + region_parameters_revision = "A" + adr_algorithm = "default" + allow_roaming = false + device_status_request_frequency = 1 + device_supports_class_b = false + device_supports_class_c = false + device_supports_otaa = true + expected_uplink_interval = 3600 + flush_queue_on_activate = true +} +``` ## Schema diff --git a/docs/resources/http_integration.md b/docs/resources/http_integration.md index 43f0e78..7074f02 100644 --- a/docs/resources/http_integration.md +++ b/docs/resources/http_integration.md @@ -10,7 +10,15 @@ description: |- Http Integration resource - +## Example Usage + +```terraform +resource "chirpstack_http_integration" "example" { + application_id = chirpstack_application.application.id + encoding = "JSON" + event_endpoint_url = "https://example.com" +} +``` ## Schema diff --git a/docs/resources/tenant.md b/docs/resources/tenant.md index e07e60d..6ed834e 100644 --- a/docs/resources/tenant.md +++ b/docs/resources/tenant.md @@ -10,7 +10,14 @@ description: |- Tenant resource - +## Example Usage + +```terraform +resource "chirpstack_tenant" "tenant" { + name = "mytenant" + description = "My Tenant" +} +``` ## Schema