terradart_core 0.12.17 copy "terradart_core: ^0.12.17" to clipboard
terradart_core: ^0.12.17 copied to clipboard

terradart core runtime — Stack, Resource, Provider, Variable, Data, TfArg, TfRef, and LifecycleOptions for Dart-first Terraform synthesis.

example/main.dart

import 'dart:convert';

import 'package:terradart_core/terradart_core.dart';

/// Minimal example: empty Stack synth.
final class EmptyStack extends Stack {
  EmptyStack() : super(providers: const []);
}

void main() {
  final result = EmptyStack().synth();
  // ignore: avoid_print
  print(const JsonEncoder.withIndent('  ').convert(result.tfJson));
}
0
likes
0
points
1.85k
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

terradart core runtime — Stack, Resource, Provider, Variable, Data, TfArg, TfRef, and LifecycleOptions for Dart-first Terraform synthesis.

Repository (GitHub)
View/report issues

Topics

#terraform #infrastructure #codegen #google-cloud

License

unknown (license)

Dependencies

meta

More

Packages that depend on terradart_core