mirror of
https://github.com/Noratrieb/terustform.git
synced 2026-01-16 09:25:10 +01:00
Improvements
This commit is contained in:
parent
edf7b7dac3
commit
bf7bd330b3
10 changed files with 189 additions and 72 deletions
|
|
@ -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()]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue