From 4588cf7e7692fc551102bba51ea6251ab1f84c73 Mon Sep 17 00:00:00 2001 From: Elad Ben-Israel Date: Mon, 16 Sep 2024 05:33:38 +0300 Subject: [PATCH] chore(tf): update readme --- tf/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tf/README.md b/tf/README.md index 3b7aee2b..0a3cda51 100644 --- a/tf/README.md +++ b/tf/README.md @@ -18,13 +18,14 @@ Represents an arbitrary Terraform resource. > `tf.Resource` can only be used when compiling your Wing program to a `tf-*` target. -It takes a `type` and `attributes` properties: +It takes a `terraformResourceType` and `attributes` properties, as well as all the properties of the `TerraformResource` +class from CDKTF. ```js bring tf; let role = new tf.Resource({ - type: "aws_iam_role", + terraformResourceType: "aws_iam_role", attributes: { inline_policy: { name: "lambda-invoke",