From 63bd32c3cd68cdf24fbfacb295c71363e44d3c77 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sun, 14 Apr 2024 22:04:29 +0200 Subject: [PATCH] add empty derive --- Cargo.lock | 1 + terraform-provider-example/Cargo.toml | 1 + terraform-provider-example/src/main.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 2576949..18fdc6d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1083,6 +1083,7 @@ version = "0.1.0" dependencies = [ "eyre", "terustform", + "terustform-macros", "tokio", ] diff --git a/terraform-provider-example/Cargo.toml b/terraform-provider-example/Cargo.toml index 6886fb8..060acba 100644 --- a/terraform-provider-example/Cargo.toml +++ b/terraform-provider-example/Cargo.toml @@ -6,5 +6,6 @@ edition = "2021" [dependencies] eyre = "0.6.12" terustform = { path = "../terustform" } +terustform-macros = { path = "../terustform-macros" } tokio = { version = "1.37.0", features = ["full"] } diff --git a/terraform-provider-example/src/main.rs b/terraform-provider-example/src/main.rs index 614ca32..ce6809b 100644 --- a/terraform-provider-example/src/main.rs +++ b/terraform-provider-example/src/main.rs @@ -29,6 +29,7 @@ impl Provider for ExampleProvider { struct ExampleDataSource {} +#[derive(terustform_macros::DataSourceModel)] struct _ExampleDataSourceModel { name: StringValue, }