Improvements

This commit is contained in:
nora 2024-04-29 20:20:19 +02:00
parent edf7b7dac3
commit bf7bd330b3
10 changed files with 189 additions and 72 deletions

View file

@ -4,7 +4,9 @@ mod resources;
use std::collections::HashMap;
use eyre::Context;
use terustform::{datasource::DataSource, provider::Provider, DResult, EyreExt, Schema, Value};
use terustform::{
datasource::DataSource, provider::Provider, resource::Resource, DResult, EyreExt, Schema, Value,
};
#[tokio::main]
async fn main() -> eyre::Result<()> {
@ -49,6 +51,6 @@ impl Provider for ExampleProvider {
}
fn resources(&self) -> terustform::provider::Resources<Self> {
vec![]
vec![resources::class_resource::ClassResource::erase()]
}
}