diff --git a/examples/tests/valid/bring_cdktf.test.w b/examples/tests/valid/bring_cdktf.test.w index a897a1271a4..e162f403bbb 100644 --- a/examples/tests/valid/bring_cdktf.test.w +++ b/examples/tests/valid/bring_cdktf.test.w @@ -1,13 +1,14 @@ bring "@cdktf/provider-aws" as aws; bring "cdktf" as cdktf; -new aws.s3Bucket.S3Bucket( +let bucket = new aws.s3Bucket.S3Bucket( bucketPrefix: "hello", versioning: { enabled: true, mfaDelete: true, }, ) as "Bucket"; +nodeof(bucket).color = "pink"; class Foo { new() { diff --git a/libs/wingsdk/src/core/tree.ts b/libs/wingsdk/src/core/tree.ts index 669fffd7ef4..f4e74e1a2c0 100644 --- a/libs/wingsdk/src/core/tree.ts +++ b/libs/wingsdk/src/core/tree.ts @@ -2,7 +2,7 @@ import * as fs from "fs"; import * as path from "path"; import { IConstruct } from "constructs"; import { App } from "./app"; -import { IResource, Node, Resource } from "../std"; +import { Node } from "../std"; import { VisualComponent } from "../ui/base"; import { Colors, isOfTypeColors } from "../ui/colors"; @@ -220,14 +220,7 @@ export function synthesizeTree(app: App, outdir: string) { ); } -function isIResource(construct: IConstruct): construct is IResource { - return construct instanceof Resource; -} - function synthDisplay(construct: IConstruct): DisplayInfo | undefined { - if (!isIResource(construct)) { - return; - } const display = Node.of(construct); const ui: UIComponent[] = []; diff --git a/libs/wingsdk/test/core/__snapshots__/connections.test.ts.snap b/libs/wingsdk/test/core/__snapshots__/connections.test.ts.snap index 7614e128608..758b2123b89 100644 --- a/libs/wingsdk/test/core/__snapshots__/connections.test.ts.snap +++ b/libs/wingsdk/test/core/__snapshots__/connections.test.ts.snap @@ -195,6 +195,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/simulator/__snapshots__/simulator.test.ts.snap b/libs/wingsdk/test/simulator/__snapshots__/simulator.test.ts.snap index 7d2e1e3155e..7ed3672252a 100644 --- a/libs/wingsdk/test/simulator/__snapshots__/simulator.test.ts.snap +++ b/libs/wingsdk/test/simulator/__snapshots__/simulator.test.ts.snap @@ -22,6 +22,7 @@ exports[`provides raw tree data 1`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/api.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/api.test.ts.snap index e66baf59a66..6f853be3c33 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/api.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/api.test.ts.snap @@ -319,6 +319,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -645,6 +646,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -970,6 +972,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1296,6 +1299,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1622,6 +1626,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1948,6 +1953,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -2417,6 +2423,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -2759,6 +2766,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -3093,6 +3101,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -3422,6 +3431,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -3875,6 +3885,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -4330,6 +4341,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -4655,6 +4667,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -4989,6 +5002,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -5315,6 +5329,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -5494,6 +5509,7 @@ exports[`create an api 1`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/bucket.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/bucket.test.ts.snap index d2f3e83fa8e..57ef79fb33a 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/bucket.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/bucket.test.ts.snap @@ -220,6 +220,7 @@ exports[`can add file in preflight 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -390,6 +391,7 @@ exports[`can add object in preflight 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -545,6 +547,7 @@ exports[`create a bucket 1`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -710,6 +713,7 @@ exports[`get invalid object throws an error 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/counter.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/counter.test.ts.snap index 85f24e20f6b..c4e10517148 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/counter.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/counter.test.ts.snap @@ -240,6 +240,7 @@ exports[`create a counter 1`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -499,6 +500,7 @@ exports[`dec 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -758,6 +760,7 @@ exports[`inc 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1017,6 +1020,7 @@ exports[`key dec 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1276,6 +1280,7 @@ exports[`key inc 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1533,6 +1538,7 @@ exports[`key set to new value 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1790,6 +1796,7 @@ exports[`set to new value 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/file-counter.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/file-counter.test.ts.snap index 4e8fab3c30c..99876988ed4 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/file-counter.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/file-counter.test.ts.snap @@ -538,6 +538,7 @@ bucket: (function() { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "HelloWorld", "path": "root/HelloWorld", }, @@ -546,6 +547,7 @@ bucket: (function() { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/function.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/function.test.ts.snap index 11992e78ca2..eb5500f3161 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/function.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/function.test.ts.snap @@ -157,6 +157,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -328,6 +329,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -499,6 +501,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -672,6 +675,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -833,6 +837,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1124,6 +1129,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/immutable-capture.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/immutable-capture.test.ts.snap index 9df59ab0971..be36938ae6d 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/immutable-capture.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/immutable-capture.test.ts.snap @@ -163,6 +163,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -334,6 +335,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -504,6 +506,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -673,6 +676,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -844,6 +848,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1017,6 +1022,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1192,6 +1198,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1364,6 +1371,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1533,6 +1541,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1705,6 +1714,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1876,6 +1886,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -2046,6 +2057,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -2218,6 +2230,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -2390,6 +2403,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/on-deploy.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/on-deploy.test.ts.snap index 1ce6af5262b..4a279b8552a 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/on-deploy.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/on-deploy.test.ts.snap @@ -169,6 +169,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/queue.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/queue.test.ts.snap index 7dfd136f097..1f5e4cc0b18 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/queue.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/queue.test.ts.snap @@ -146,6 +146,7 @@ exports[`create a queue 1`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -761,6 +762,7 @@ exports[`push rejects empty message 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -929,6 +931,7 @@ exports[`queue batch size of 2, purge the queue 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1316,6 +1319,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1590,6 +1594,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/redis.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/redis.test.ts.snap index c05c34c1b54..715c2a43ed0 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/redis.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/redis.test.ts.snap @@ -143,6 +143,7 @@ exports[`create a Redis resource 1`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/schedule.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/schedule.test.ts.snap index 2a517de9603..f2a1a4e74a2 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/schedule.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/schedule.test.ts.snap @@ -145,6 +145,7 @@ exports[`create a schedule 1`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -395,6 +396,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -645,6 +647,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -895,6 +898,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/secret.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/secret.test.ts.snap index 53c2a022a3c..4829b0fdcdb 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/secret.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/secret.test.ts.snap @@ -121,6 +121,7 @@ exports[`secrets > create a secret 1`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/service.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/service.test.ts.snap index 76b0fc6998a..fda6469189f 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/service.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/service.test.ts.snap @@ -156,6 +156,7 @@ exports[`create a service with on start method 1`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/table.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/table.test.ts.snap index 0862d415150..4bbfbbebd96 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/table.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/table.test.ts.snap @@ -142,6 +142,7 @@ exports[`can add row in preflight 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -277,6 +278,7 @@ exports[`create a table 1`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -422,6 +424,7 @@ exports[`get row 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -565,6 +568,7 @@ exports[`insert row 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -710,6 +714,7 @@ exports[`list table 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -854,6 +859,7 @@ exports[`tryGet row 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, @@ -1001,6 +1007,7 @@ exports[`update row 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/test.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/test.test.ts.snap index fd7c3f2b626..55f284251ec 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/test.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/test.test.ts.snap @@ -185,6 +185,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "env0", "path": "root/env0", }, @@ -193,6 +194,7 @@ exports.handler = async function(event) { "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-sim/__snapshots__/topic.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/topic.test.ts.snap index c9b5c43361c..fcbbe9a5510 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/topic.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/topic.test.ts.snap @@ -143,6 +143,7 @@ exports[`create a topic 1`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "root", "path": "root", }, diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/bucket.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/bucket.test.ts.snap index a009e9e6955..05db4b72192 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/bucket.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/bucket.test.ts.snap @@ -44,6 +44,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -54,6 +55,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -62,6 +64,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicAccessBlock", "path": "root/Default/my_bucket/PublicAccessBlock", }, @@ -70,6 +73,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicPolicy", "path": "root/Default/my_bucket/PublicPolicy", }, @@ -90,6 +94,7 @@ exports[`bucket is public 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -98,6 +103,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -106,6 +112,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -114,6 +121,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -149,6 +157,7 @@ exports[`bucket prefix must be lowercase 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/The-Uncanny.Bucket/Default", }, @@ -169,6 +178,7 @@ exports[`bucket prefix must be lowercase 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -177,6 +187,7 @@ exports[`bucket prefix must be lowercase 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -185,6 +196,7 @@ exports[`bucket prefix must be lowercase 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -193,6 +205,7 @@ exports[`bucket prefix must be lowercase 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -201,6 +214,7 @@ exports[`bucket prefix must be lowercase 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -234,6 +248,7 @@ exports[`bucket prefix valid 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -244,6 +259,7 @@ exports[`bucket prefix valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/the-uncanny.bucket/Default", }, @@ -264,6 +280,7 @@ exports[`bucket prefix valid 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -272,6 +289,7 @@ exports[`bucket prefix valid 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -280,6 +298,7 @@ exports[`bucket prefix valid 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -288,6 +307,7 @@ exports[`bucket prefix valid 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -441,6 +461,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -449,6 +470,9 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -457,6 +481,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -467,6 +492,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -475,6 +501,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicAccessBlock", "path": "root/Default/my_bucket/PublicAccessBlock", }, @@ -483,6 +510,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicPolicy", "path": "root/Default/my_bucket/PublicPolicy", }, @@ -491,6 +519,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3BucketNotification", "path": "root/Default/my_bucket/S3BucketNotification", }, @@ -501,6 +530,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/oncreate/Default", }, @@ -509,6 +539,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", "path": "root/Default/my_bucket/oncreate/PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", }, @@ -517,6 +548,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "TopicSubscription0", "path": "root/Default/my_bucket/oncreate/TopicSubscription0", }, @@ -539,6 +571,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/my_bucket/oncreate-OnMessage0/Asset", }, @@ -547,6 +580,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/my_bucket/oncreate-OnMessage0/CloudwatchLogGroup", }, @@ -555,6 +589,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/oncreate-OnMessage0/Default", }, @@ -563,6 +598,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/my_bucket/oncreate-OnMessage0/IamRole", }, @@ -571,6 +607,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/my_bucket/oncreate-OnMessage0/IamRolePolicy", }, @@ -579,6 +616,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/my_bucket/oncreate-OnMessage0/IamRolePolicyAttachment", }, @@ -587,6 +625,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c8ad674c480f4e6c0a6bf1a492e393e9ccaed211a1", "path": "root/Default/my_bucket/oncreate-OnMessage0/InvokePermission-c8ad674c480f4e6c0a6bf1a492e393e9ccaed211a1", }, @@ -595,6 +634,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/my_bucket/oncreate-OnMessage0/S3Object", }, @@ -627,6 +667,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -635,6 +676,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -643,6 +685,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -651,6 +694,7 @@ exports[`bucket with onCreate method 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -804,6 +848,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -812,6 +857,9 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -820,6 +868,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -830,6 +879,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -838,6 +888,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicAccessBlock", "path": "root/Default/my_bucket/PublicAccessBlock", }, @@ -846,6 +897,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicPolicy", "path": "root/Default/my_bucket/PublicPolicy", }, @@ -854,6 +906,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3BucketNotification", "path": "root/Default/my_bucket/S3BucketNotification", }, @@ -864,6 +917,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/ondelete/Default", }, @@ -872,6 +926,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", "path": "root/Default/my_bucket/ondelete/PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", }, @@ -880,6 +935,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "TopicSubscription0", "path": "root/Default/my_bucket/ondelete/TopicSubscription0", }, @@ -902,6 +958,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/my_bucket/ondelete-OnMessage0/Asset", }, @@ -910,6 +967,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/my_bucket/ondelete-OnMessage0/CloudwatchLogGroup", }, @@ -918,6 +976,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/ondelete-OnMessage0/Default", }, @@ -926,6 +985,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/my_bucket/ondelete-OnMessage0/IamRole", }, @@ -934,6 +994,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/my_bucket/ondelete-OnMessage0/IamRolePolicy", }, @@ -942,6 +1003,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/my_bucket/ondelete-OnMessage0/IamRolePolicyAttachment", }, @@ -950,6 +1012,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c8142b51acc0b500d0402de71ecbd0ecf4977ec315", "path": "root/Default/my_bucket/ondelete-OnMessage0/InvokePermission-c8142b51acc0b500d0402de71ecbd0ecf4977ec315", }, @@ -958,6 +1021,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/my_bucket/ondelete-OnMessage0/S3Object", }, @@ -990,6 +1054,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -998,6 +1063,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1006,6 +1072,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1014,6 +1081,7 @@ exports[`bucket with onDelete method 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1307,6 +1375,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -1315,6 +1384,9 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -1323,6 +1395,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1333,6 +1406,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -1341,6 +1415,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicAccessBlock", "path": "root/Default/my_bucket/PublicAccessBlock", }, @@ -1349,6 +1424,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicPolicy", "path": "root/Default/my_bucket/PublicPolicy", }, @@ -1357,6 +1433,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3BucketNotification", "path": "root/Default/my_bucket/S3BucketNotification", }, @@ -1367,6 +1444,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/oncreate/Default", }, @@ -1375,6 +1453,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", "path": "root/Default/my_bucket/oncreate/PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", }, @@ -1383,6 +1462,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "TopicSubscription0", "path": "root/Default/my_bucket/oncreate/TopicSubscription0", }, @@ -1405,6 +1485,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/my_bucket/oncreate-OnMessage0/Asset", }, @@ -1413,6 +1494,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/my_bucket/oncreate-OnMessage0/CloudwatchLogGroup", }, @@ -1421,6 +1503,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/oncreate-OnMessage0/Default", }, @@ -1429,6 +1512,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/my_bucket/oncreate-OnMessage0/IamRole", }, @@ -1437,6 +1521,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/my_bucket/oncreate-OnMessage0/IamRolePolicy", }, @@ -1445,6 +1530,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/my_bucket/oncreate-OnMessage0/IamRolePolicyAttachment", }, @@ -1453,6 +1539,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c8ad674c480f4e6c0a6bf1a492e393e9ccaed211a1", "path": "root/Default/my_bucket/oncreate-OnMessage0/InvokePermission-c8ad674c480f4e6c0a6bf1a492e393e9ccaed211a1", }, @@ -1461,6 +1548,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/my_bucket/oncreate-OnMessage0/S3Object", }, @@ -1483,6 +1571,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/ondelete/Default", }, @@ -1491,6 +1580,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", "path": "root/Default/my_bucket/ondelete/PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", }, @@ -1499,6 +1589,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "TopicSubscription0", "path": "root/Default/my_bucket/ondelete/TopicSubscription0", }, @@ -1521,6 +1612,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/my_bucket/ondelete-OnMessage0/Asset", }, @@ -1529,6 +1621,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/my_bucket/ondelete-OnMessage0/CloudwatchLogGroup", }, @@ -1537,6 +1630,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/ondelete-OnMessage0/Default", }, @@ -1545,6 +1639,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/my_bucket/ondelete-OnMessage0/IamRole", }, @@ -1553,6 +1648,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/my_bucket/ondelete-OnMessage0/IamRolePolicy", }, @@ -1561,6 +1657,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/my_bucket/ondelete-OnMessage0/IamRolePolicyAttachment", }, @@ -1569,6 +1666,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c8142b51acc0b500d0402de71ecbd0ecf4977ec315", "path": "root/Default/my_bucket/ondelete-OnMessage0/InvokePermission-c8142b51acc0b500d0402de71ecbd0ecf4977ec315", }, @@ -1577,6 +1675,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/my_bucket/ondelete-OnMessage0/S3Object", }, @@ -1599,6 +1698,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/onupdate/Default", }, @@ -1607,6 +1707,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", "path": "root/Default/my_bucket/onupdate/PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", }, @@ -1615,6 +1716,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "TopicSubscription0", "path": "root/Default/my_bucket/onupdate/TopicSubscription0", }, @@ -1637,6 +1739,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/my_bucket/onupdate-OnMessage0/Asset", }, @@ -1645,6 +1748,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/my_bucket/onupdate-OnMessage0/CloudwatchLogGroup", }, @@ -1653,6 +1757,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/onupdate-OnMessage0/Default", }, @@ -1661,6 +1766,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/my_bucket/onupdate-OnMessage0/IamRole", }, @@ -1669,6 +1775,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/my_bucket/onupdate-OnMessage0/IamRolePolicy", }, @@ -1677,6 +1784,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/my_bucket/onupdate-OnMessage0/IamRolePolicyAttachment", }, @@ -1685,6 +1793,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c810a1e91f70a36a50557a2c23bc28c96365a22f22", "path": "root/Default/my_bucket/onupdate-OnMessage0/InvokePermission-c810a1e91f70a36a50557a2c23bc28c96365a22f22", }, @@ -1693,6 +1802,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/my_bucket/onupdate-OnMessage0/S3Object", }, @@ -1725,6 +1835,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1733,6 +1844,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1741,6 +1853,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1749,6 +1862,7 @@ exports[`bucket with onEvent method 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1902,6 +2016,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -1910,6 +2025,9 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -1918,6 +2036,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1928,6 +2047,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -1936,6 +2056,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicAccessBlock", "path": "root/Default/my_bucket/PublicAccessBlock", }, @@ -1944,6 +2065,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicPolicy", "path": "root/Default/my_bucket/PublicPolicy", }, @@ -1952,6 +2074,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3BucketNotification", "path": "root/Default/my_bucket/S3BucketNotification", }, @@ -1962,6 +2085,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/onupdate/Default", }, @@ -1970,6 +2094,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", "path": "root/Default/my_bucket/onupdate/PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", }, @@ -1978,6 +2103,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "TopicSubscription0", "path": "root/Default/my_bucket/onupdate/TopicSubscription0", }, @@ -2000,6 +2126,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/my_bucket/onupdate-OnMessage0/Asset", }, @@ -2008,6 +2135,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/my_bucket/onupdate-OnMessage0/CloudwatchLogGroup", }, @@ -2016,6 +2144,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/onupdate-OnMessage0/Default", }, @@ -2024,6 +2153,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/my_bucket/onupdate-OnMessage0/IamRole", }, @@ -2032,6 +2162,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/my_bucket/onupdate-OnMessage0/IamRolePolicy", }, @@ -2040,6 +2171,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/my_bucket/onupdate-OnMessage0/IamRolePolicyAttachment", }, @@ -2048,6 +2180,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c810a1e91f70a36a50557a2c23bc28c96365a22f22", "path": "root/Default/my_bucket/onupdate-OnMessage0/InvokePermission-c810a1e91f70a36a50557a2c23bc28c96365a22f22", }, @@ -2056,6 +2189,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/my_bucket/onupdate-OnMessage0/S3Object", }, @@ -2088,6 +2222,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -2096,6 +2231,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -2104,6 +2240,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -2112,6 +2249,7 @@ exports[`bucket with onUpdate method 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -2175,6 +2313,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -2185,6 +2324,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -2193,6 +2333,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicAccessBlock", "path": "root/Default/my_bucket/PublicAccessBlock", }, @@ -2201,6 +2342,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicPolicy", "path": "root/Default/my_bucket/PublicPolicy", }, @@ -2209,6 +2351,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object-file1.txt", "path": "root/Default/my_bucket/S3Object-file1.txt", }, @@ -2217,6 +2360,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object-file2.txt", "path": "root/Default/my_bucket/S3Object-file2.txt", }, @@ -2237,6 +2381,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -2245,6 +2390,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -2253,6 +2399,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -2261,6 +2408,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -2324,6 +2472,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -2334,6 +2483,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -2342,6 +2492,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicAccessBlock", "path": "root/Default/my_bucket/PublicAccessBlock", }, @@ -2350,6 +2501,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicPolicy", "path": "root/Default/my_bucket/PublicPolicy", }, @@ -2358,6 +2510,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object-file1.txt", "path": "root/Default/my_bucket/S3Object-file1.txt", }, @@ -2366,6 +2519,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object-file2.txt", "path": "root/Default/my_bucket/S3Object-file2.txt", }, @@ -2386,6 +2540,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -2394,6 +2549,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -2402,6 +2558,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -2410,6 +2567,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -2443,6 +2601,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -2453,6 +2612,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -2473,6 +2633,7 @@ exports[`create a bucket 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -2481,6 +2642,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -2489,6 +2651,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -2497,6 +2660,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/counter.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/counter.test.ts.snap index 5c5f5b72a46..7bdbc856367 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/counter.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/counter.test.ts.snap @@ -35,6 +35,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/The.Amazing-Counter_01/Default", }, @@ -55,6 +56,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -63,6 +65,7 @@ exports[`counter name valid 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -71,6 +74,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -79,6 +83,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -87,6 +92,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -129,6 +135,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -149,6 +156,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -157,6 +165,7 @@ exports[`counter with initial value 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -165,6 +174,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -173,6 +183,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -181,6 +192,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -283,6 +295,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -293,6 +306,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -315,6 +329,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -323,6 +338,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -331,6 +347,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -339,6 +356,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -347,6 +365,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -355,6 +374,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -363,6 +383,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -383,6 +404,9 @@ exports[`dec() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -391,6 +415,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -399,6 +424,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -407,6 +433,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -415,6 +442,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -423,6 +451,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -563,6 +592,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -573,6 +603,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -595,6 +626,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -603,6 +635,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -611,6 +644,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -619,6 +653,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -627,6 +662,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -635,6 +671,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -643,6 +680,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -663,6 +701,9 @@ exports[`function with a counter binding 3`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -671,6 +712,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -679,6 +721,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -687,6 +730,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -695,6 +739,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -703,6 +748,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -805,6 +851,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -815,6 +862,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -837,6 +885,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -845,6 +894,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -853,6 +903,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -861,6 +912,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -869,6 +921,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -877,6 +930,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -885,6 +939,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -905,6 +960,9 @@ exports[`inc() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -913,6 +971,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -921,6 +980,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -929,6 +989,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -937,6 +998,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -945,6 +1007,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1047,6 +1110,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -1057,6 +1121,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -1079,6 +1144,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -1087,6 +1153,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -1095,6 +1162,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -1103,6 +1171,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -1111,6 +1180,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -1119,6 +1189,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -1127,6 +1198,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -1147,6 +1219,9 @@ exports[`peek() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -1155,6 +1230,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1163,6 +1239,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1171,6 +1248,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1179,6 +1257,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1187,6 +1266,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1229,6 +1309,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/The*Amazing%Counter@01/Default", }, @@ -1249,6 +1330,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1257,6 +1339,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1265,6 +1348,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1273,6 +1357,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1281,6 +1366,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1383,6 +1469,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -1393,6 +1480,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -1415,6 +1503,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -1423,6 +1512,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -1431,6 +1521,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -1439,6 +1530,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -1447,6 +1539,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -1455,6 +1548,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -1463,6 +1557,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -1483,6 +1578,9 @@ exports[`set() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -1491,6 +1589,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1499,6 +1598,7 @@ exports[`set() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1507,6 +1607,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1515,6 +1616,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1523,6 +1625,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/domain.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/domain.test.ts.snap index 7e8ba626ac8..a3179f13cc1 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/domain.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/domain.test.ts.snap @@ -192,6 +192,9 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -202,6 +205,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformDataSource", "version": "0.20.3", }, + "display": {}, "id": "AllowDistributionReadOnly", "path": "root/Default/Website/AllowDistributionReadOnly", }, @@ -210,6 +214,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "BucketWebsiteConfiguration", "path": "root/Default/Website/BucketWebsiteConfiguration", }, @@ -218,6 +223,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudfrontOac", "path": "root/Default/Website/CloudfrontOac", }, @@ -226,6 +232,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Distribution", "path": "root/Default/Website/Distribution", }, @@ -234,6 +241,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DistributionS3BucketPolicy", "path": "root/Default/Website/DistributionS3BucketPolicy", }, @@ -244,6 +252,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformOutput", "version": "0.20.3", }, + "display": {}, "id": "Url", "path": "root/Default/Website/Endpoint/Url", }, @@ -265,6 +274,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--b.html", "path": "root/Default/Website/File--b.html", }, @@ -273,6 +283,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--index.html", "path": "root/Default/Website/File--index.html", }, @@ -281,6 +292,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--inner-folder--a.html", "path": "root/Default/Website/File--inner-folder--a.html", }, @@ -289,6 +301,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Route53Record", "path": "root/Default/Website/Route53Record", }, @@ -297,6 +310,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "WebsiteBucket", "path": "root/Default/Website/WebsiteBucket", }, @@ -317,6 +331,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -325,6 +340,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -333,6 +349,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -341,6 +358,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -349,6 +367,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -548,6 +567,9 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -558,6 +580,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformDataSource", "version": "0.20.3", }, + "display": {}, "id": "AllowDistributionReadOnly", "path": "root/Default/Website/AllowDistributionReadOnly", }, @@ -566,6 +589,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "BucketWebsiteConfiguration", "path": "root/Default/Website/BucketWebsiteConfiguration", }, @@ -574,6 +598,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudfrontOac", "path": "root/Default/Website/CloudfrontOac", }, @@ -582,6 +607,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Distribution", "path": "root/Default/Website/Distribution", }, @@ -590,6 +616,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DistributionS3BucketPolicy", "path": "root/Default/Website/DistributionS3BucketPolicy", }, @@ -600,6 +627,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformOutput", "version": "0.20.3", }, + "display": {}, "id": "Url", "path": "root/Default/Website/Endpoint/Url", }, @@ -621,6 +649,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--b.html", "path": "root/Default/Website/File--b.html", }, @@ -629,6 +658,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--index.html", "path": "root/Default/Website/File--index.html", }, @@ -637,6 +667,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--inner-folder--a.html", "path": "root/Default/Website/File--inner-folder--a.html", }, @@ -645,6 +676,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Route53Record", "path": "root/Default/Website/Route53Record", }, @@ -653,6 +685,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "WebsiteBucket", "path": "root/Default/Website/WebsiteBucket", }, @@ -673,6 +706,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -681,6 +715,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -689,6 +724,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -697,6 +733,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -705,6 +742,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/function.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/function.test.ts.snap index ea09206467e..979dfb79b63 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/function.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/function.test.ts.snap @@ -81,6 +81,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -91,6 +92,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -99,6 +101,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -107,6 +110,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -115,6 +119,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -123,6 +128,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -131,6 +137,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -139,6 +146,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -159,6 +167,9 @@ exports[`basic function 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -167,6 +178,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -175,6 +187,7 @@ exports[`basic function 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -183,6 +196,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -191,6 +205,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -199,6 +214,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -287,6 +303,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -297,6 +314,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -305,6 +323,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -313,6 +332,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -321,6 +341,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -329,6 +350,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -337,6 +359,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -345,6 +368,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -365,6 +389,9 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -373,6 +400,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -381,6 +409,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -389,6 +418,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -397,6 +427,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -405,6 +436,7 @@ exports[`basic function with custom log retention 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -495,6 +527,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -505,6 +538,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -513,6 +547,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -521,6 +556,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -529,6 +565,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -537,6 +574,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -545,6 +583,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -553,6 +592,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -573,6 +613,9 @@ exports[`basic function with environment variables 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -581,6 +624,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -589,6 +633,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -597,6 +642,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -605,6 +651,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -613,6 +660,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -695,6 +743,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -705,6 +754,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -713,6 +763,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -721,6 +772,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -729,6 +781,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -737,6 +790,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -745,6 +799,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -765,6 +820,9 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -773,6 +831,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -781,6 +840,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -789,6 +849,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -797,6 +858,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -805,6 +867,7 @@ exports[`basic function with infinite log retention 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -893,6 +956,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -903,6 +967,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -911,6 +976,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -919,6 +985,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -927,6 +994,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -935,6 +1003,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -943,6 +1012,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -951,6 +1021,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -971,6 +1042,9 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -979,6 +1053,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -987,6 +1062,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -995,6 +1071,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1003,6 +1080,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1011,6 +1089,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1099,6 +1178,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -1109,6 +1189,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -1117,6 +1198,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -1125,6 +1207,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -1133,6 +1216,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -1141,6 +1225,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -1149,6 +1234,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -1157,6 +1243,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -1177,6 +1264,9 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -1185,6 +1275,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1193,6 +1284,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1201,6 +1293,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1209,6 +1302,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1217,6 +1311,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1305,6 +1400,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -1313,6 +1409,9 @@ exports[`function name valid 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -1323,6 +1422,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/The-Mighty_Function-01/Asset", }, @@ -1331,6 +1431,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/The-Mighty_Function-01/CloudwatchLogGroup", }, @@ -1339,6 +1440,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/The-Mighty_Function-01/Default", }, @@ -1347,6 +1449,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/The-Mighty_Function-01/IamRole", }, @@ -1355,6 +1458,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/The-Mighty_Function-01/IamRolePolicy", }, @@ -1363,6 +1467,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/The-Mighty_Function-01/IamRolePolicyAttachment", }, @@ -1371,6 +1476,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/The-Mighty_Function-01/S3Object", }, @@ -1391,6 +1497,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1399,6 +1506,7 @@ exports[`function name valid 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1407,6 +1515,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1415,6 +1524,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1423,6 +1533,7 @@ exports[`function name valid 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1750,6 +1861,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -1758,6 +1870,9 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -1768,6 +1883,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/The%Mighty$Function/Asset", }, @@ -1776,6 +1892,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/The%Mighty$Function/CloudwatchLogGroup", }, @@ -1784,6 +1901,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/The%Mighty$Function/Default", }, @@ -1792,6 +1910,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/The%Mighty$Function/IamRole", }, @@ -1800,6 +1919,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/The%Mighty$Function/IamRolePolicy", }, @@ -1808,6 +1928,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/The%Mighty$Function/IamRolePolicyAttachment", }, @@ -1816,6 +1937,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/The%Mighty$Function/S3Object", }, @@ -1836,6 +1958,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1844,6 +1967,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1852,6 +1976,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1860,6 +1985,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1868,6 +1994,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/on-deploy.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/on-deploy.test.ts.snap index 8a1df419778..2452a0ec5c4 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/on-deploy.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/on-deploy.test.ts.snap @@ -90,6 +90,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -98,6 +99,9 @@ exports[`create an OnDeploy 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -106,6 +110,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -118,6 +123,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/my_on_deploy/Function/Asset", }, @@ -126,6 +132,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/my_on_deploy/Function/CloudwatchLogGroup", }, @@ -134,6 +141,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_on_deploy/Function/Default", }, @@ -142,6 +150,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/my_on_deploy/Function/IamRole", }, @@ -150,6 +159,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/my_on_deploy/Function/IamRolePolicy", }, @@ -158,6 +168,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/my_on_deploy/Function/IamRolePolicyAttachment", }, @@ -166,6 +177,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/my_on_deploy/Function/S3Object", }, @@ -186,6 +198,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.TerraformDataSource", "version": "0.20.3", }, + "display": {}, "id": "Invocation", "path": "root/Default/my_on_deploy/Invocation", }, @@ -206,6 +219,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -214,6 +228,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -222,6 +237,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -230,6 +246,7 @@ exports[`create an OnDeploy 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -333,6 +350,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -341,6 +359,9 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -349,6 +370,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -359,6 +381,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -383,6 +406,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/my_on_deploy/Function/Asset", }, @@ -391,6 +415,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/my_on_deploy/Function/CloudwatchLogGroup", }, @@ -399,6 +424,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_on_deploy/Function/Default", }, @@ -407,6 +433,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/my_on_deploy/Function/IamRole", }, @@ -415,6 +442,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/my_on_deploy/Function/IamRolePolicy", }, @@ -423,6 +451,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/my_on_deploy/Function/IamRolePolicyAttachment", }, @@ -431,6 +460,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/my_on_deploy/Function/S3Object", }, @@ -451,6 +481,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformDataSource", "version": "0.20.3", }, + "display": {}, "id": "Invocation", "path": "root/Default/my_on_deploy/Invocation", }, @@ -471,6 +502,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -479,6 +511,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -487,6 +520,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -495,6 +529,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -599,6 +634,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -607,6 +643,9 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -615,6 +654,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -625,6 +665,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -649,6 +690,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/my_on_deploy/Function/Asset", }, @@ -657,6 +699,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/my_on_deploy/Function/CloudwatchLogGroup", }, @@ -665,6 +708,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_on_deploy/Function/Default", }, @@ -673,6 +717,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/my_on_deploy/Function/IamRole", }, @@ -681,6 +726,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/my_on_deploy/Function/IamRolePolicy", }, @@ -689,6 +735,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/my_on_deploy/Function/IamRolePolicyAttachment", }, @@ -697,6 +744,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/my_on_deploy/Function/S3Object", }, @@ -717,6 +765,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformDataSource", "version": "0.20.3", }, + "display": {}, "id": "Invocation", "path": "root/Default/my_on_deploy/Invocation", }, @@ -737,6 +786,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -745,6 +795,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -753,6 +804,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -761,6 +813,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/queue.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/queue.test.ts.snap index 4d1d26c9baa..aee851cbec8 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/queue.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/queue.test.ts.snap @@ -216,6 +216,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -226,6 +227,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -234,6 +236,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -242,6 +245,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -250,6 +254,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -258,6 +263,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -266,6 +272,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -274,6 +281,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -294,6 +302,9 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -308,6 +319,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/QueueRef/AwsConsoleField/Handler/Asset", }, @@ -316,6 +328,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/QueueRef/AwsConsoleField/Handler/CloudwatchLogGroup", }, @@ -324,6 +337,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/QueueRef/AwsConsoleField/Handler/Default", }, @@ -332,6 +346,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/QueueRef/AwsConsoleField/Handler/IamRole", }, @@ -340,6 +355,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/QueueRef/AwsConsoleField/Handler/IamRolePolicy", }, @@ -348,6 +364,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/QueueRef/AwsConsoleField/Handler/IamRolePolicyAttachment", }, @@ -356,6 +373,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/QueueRef/AwsConsoleField/Handler/S3Object", }, @@ -391,6 +409,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/QueueRef/QueueArnField/Handler/Asset", }, @@ -399,6 +418,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/QueueRef/QueueArnField/Handler/CloudwatchLogGroup", }, @@ -407,6 +427,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/QueueRef/QueueArnField/Handler/Default", }, @@ -415,6 +436,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/QueueRef/QueueArnField/Handler/IamRole", }, @@ -423,6 +445,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/QueueRef/QueueArnField/Handler/IamRolePolicy", }, @@ -431,6 +454,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/QueueRef/QueueArnField/Handler/IamRolePolicyAttachment", }, @@ -439,6 +463,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/QueueRef/QueueArnField/Handler/S3Object", }, @@ -474,6 +499,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/QueueRef/QueueUrlField/Handler/Asset", }, @@ -482,6 +508,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/QueueRef/QueueUrlField/Handler/CloudwatchLogGroup", }, @@ -490,6 +517,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/QueueRef/QueueUrlField/Handler/Default", }, @@ -498,6 +526,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/QueueRef/QueueUrlField/Handler/IamRole", }, @@ -506,6 +535,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/QueueRef/QueueUrlField/Handler/IamRolePolicy", }, @@ -514,6 +544,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/QueueRef/QueueUrlField/Handler/IamRolePolicyAttachment", }, @@ -522,6 +553,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/QueueRef/QueueUrlField/Handler/S3Object", }, @@ -583,6 +615,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -591,6 +624,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -599,6 +633,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -607,6 +642,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -615,6 +651,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -651,6 +688,7 @@ exports[`default queue behavior 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Queue/Default", }, @@ -671,6 +709,7 @@ exports[`default queue behavior 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -679,6 +718,7 @@ exports[`default queue behavior 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -687,6 +727,7 @@ exports[`default queue behavior 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -695,6 +736,7 @@ exports[`default queue behavior 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -703,6 +745,7 @@ exports[`default queue behavior 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -739,6 +782,7 @@ exports[`queue name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/The-Incredible_Queue-01/Default", }, @@ -759,6 +803,7 @@ exports[`queue name valid 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -767,6 +812,7 @@ exports[`queue name valid 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -775,6 +821,7 @@ exports[`queue name valid 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -783,6 +830,7 @@ exports[`queue name valid 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -791,6 +839,7 @@ exports[`queue name valid 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -898,6 +947,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -906,6 +956,9 @@ exports[`queue with a consumer function 3`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -916,6 +969,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Queue/Default", }, @@ -924,6 +978,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "EventSourceMapping", "path": "root/Default/Queue/EventSourceMapping", }, @@ -946,6 +1001,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Queue-SetConsumer0/Asset", }, @@ -954,6 +1010,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Queue-SetConsumer0/CloudwatchLogGroup", }, @@ -962,6 +1019,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Queue-SetConsumer0/Default", }, @@ -970,6 +1028,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Queue-SetConsumer0/IamRole", }, @@ -978,6 +1037,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Queue-SetConsumer0/IamRolePolicy", }, @@ -986,6 +1046,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Queue-SetConsumer0/IamRolePolicyAttachment", }, @@ -994,6 +1055,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Queue-SetConsumer0/S3Object", }, @@ -1014,6 +1076,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1022,6 +1085,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1030,6 +1094,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1038,6 +1103,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1046,6 +1112,7 @@ exports[`queue with a consumer function 3`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1082,6 +1149,7 @@ exports[`queue with custom retention 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Queue/Default", }, @@ -1102,6 +1170,7 @@ exports[`queue with custom retention 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1110,6 +1179,7 @@ exports[`queue with custom retention 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1118,6 +1188,7 @@ exports[`queue with custom retention 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1126,6 +1197,7 @@ exports[`queue with custom retention 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1134,6 +1206,7 @@ exports[`queue with custom retention 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1170,6 +1243,7 @@ exports[`queue with custom timeout 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Queue/Default", }, @@ -1190,6 +1264,7 @@ exports[`queue with custom timeout 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1198,6 +1273,7 @@ exports[`queue with custom timeout 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1206,6 +1282,7 @@ exports[`queue with custom timeout 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1214,6 +1291,7 @@ exports[`queue with custom timeout 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1222,6 +1300,7 @@ exports[`queue with custom timeout 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1258,6 +1337,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/The*Incredible$Queue/Default", }, @@ -1278,6 +1358,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1286,6 +1367,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1294,6 +1376,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1302,6 +1385,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1310,6 +1394,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/schedule.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/schedule.test.ts.snap index e3f42f013fb..4ad855ffa6c 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/schedule.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/schedule.test.ts.snap @@ -101,6 +101,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -109,6 +110,9 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -121,6 +125,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Schedule/OnTick0/Asset", }, @@ -129,6 +134,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Schedule/OnTick0/CloudwatchLogGroup", }, @@ -137,6 +143,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Schedule/OnTick0/Default", }, @@ -145,6 +152,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Schedule/OnTick0/IamRole", }, @@ -153,6 +161,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Schedule/OnTick0/IamRolePolicy", }, @@ -161,6 +170,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Schedule/OnTick0/IamRolePolicyAttachment", }, @@ -169,6 +179,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", "path": "root/Default/Schedule/OnTick0/InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", }, @@ -177,6 +188,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Schedule/OnTick0/S3Object", }, @@ -197,6 +209,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Schedule", "path": "root/Default/Schedule/Schedule", }, @@ -205,6 +218,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ScheduleTarget0", "path": "root/Default/Schedule/ScheduleTarget0", }, @@ -225,6 +239,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -233,6 +248,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -241,6 +257,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -249,6 +266,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -257,6 +275,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -365,6 +384,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -373,6 +393,9 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -385,6 +408,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Schedule/OnTick0/Asset", }, @@ -393,6 +417,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Schedule/OnTick0/CloudwatchLogGroup", }, @@ -401,6 +426,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Schedule/OnTick0/Default", }, @@ -409,6 +435,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Schedule/OnTick0/IamRole", }, @@ -417,6 +444,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Schedule/OnTick0/IamRolePolicy", }, @@ -425,6 +453,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Schedule/OnTick0/IamRolePolicyAttachment", }, @@ -433,6 +462,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", "path": "root/Default/Schedule/OnTick0/InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", }, @@ -441,6 +471,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Schedule/OnTick0/S3Object", }, @@ -461,6 +492,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Schedule", "path": "root/Default/Schedule/Schedule", }, @@ -469,6 +501,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ScheduleTarget0", "path": "root/Default/Schedule/ScheduleTarget0", }, @@ -489,6 +522,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -497,6 +531,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -505,6 +540,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -513,6 +549,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -521,6 +558,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -629,6 +667,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -637,6 +676,9 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -649,6 +691,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Schedule/OnTick0/Asset", }, @@ -657,6 +700,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Schedule/OnTick0/CloudwatchLogGroup", }, @@ -665,6 +709,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Schedule/OnTick0/Default", }, @@ -673,6 +718,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Schedule/OnTick0/IamRole", }, @@ -681,6 +727,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Schedule/OnTick0/IamRolePolicy", }, @@ -689,6 +736,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Schedule/OnTick0/IamRolePolicyAttachment", }, @@ -697,6 +745,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", "path": "root/Default/Schedule/OnTick0/InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", }, @@ -705,6 +754,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Schedule/OnTick0/S3Object", }, @@ -725,6 +775,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Schedule", "path": "root/Default/Schedule/Schedule", }, @@ -733,6 +784,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ScheduleTarget0", "path": "root/Default/Schedule/ScheduleTarget0", }, @@ -753,6 +805,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -761,6 +814,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -769,6 +823,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -777,6 +832,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -785,6 +841,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -893,6 +950,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -901,6 +959,9 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -913,6 +974,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Schedule/OnTick0/Asset", }, @@ -921,6 +983,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Schedule/OnTick0/CloudwatchLogGroup", }, @@ -929,6 +992,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Schedule/OnTick0/Default", }, @@ -937,6 +1001,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Schedule/OnTick0/IamRole", }, @@ -945,6 +1010,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Schedule/OnTick0/IamRolePolicy", }, @@ -953,6 +1019,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Schedule/OnTick0/IamRolePolicyAttachment", }, @@ -961,6 +1028,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", "path": "root/Default/Schedule/OnTick0/InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", }, @@ -969,6 +1037,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Schedule/OnTick0/S3Object", }, @@ -989,6 +1058,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Schedule", "path": "root/Default/Schedule/Schedule", }, @@ -997,6 +1067,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ScheduleTarget0", "path": "root/Default/Schedule/ScheduleTarget0", }, @@ -1017,6 +1088,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1025,6 +1097,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1033,6 +1106,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1041,6 +1115,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1049,6 +1124,7 @@ exports[`schedule behavior with cron 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1157,6 +1233,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -1165,6 +1242,9 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -1177,6 +1257,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Schedule/OnTick0/Asset", }, @@ -1185,6 +1266,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Schedule/OnTick0/CloudwatchLogGroup", }, @@ -1193,6 +1275,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Schedule/OnTick0/Default", }, @@ -1201,6 +1284,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Schedule/OnTick0/IamRole", }, @@ -1209,6 +1293,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Schedule/OnTick0/IamRolePolicy", }, @@ -1217,6 +1302,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Schedule/OnTick0/IamRolePolicyAttachment", }, @@ -1225,6 +1311,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", "path": "root/Default/Schedule/OnTick0/InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", }, @@ -1233,6 +1320,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Schedule/OnTick0/S3Object", }, @@ -1253,6 +1341,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Schedule", "path": "root/Default/Schedule/Schedule", }, @@ -1261,6 +1350,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ScheduleTarget0", "path": "root/Default/Schedule/ScheduleTarget0", }, @@ -1281,6 +1371,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1289,6 +1380,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1297,6 +1389,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1305,6 +1398,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1313,6 +1407,7 @@ exports[`schedule behavior with rate 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1421,6 +1516,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -1429,6 +1525,9 @@ exports[`schedule with two functions 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -1441,6 +1540,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Schedule/OnTick0/Asset", }, @@ -1449,6 +1549,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Schedule/OnTick0/CloudwatchLogGroup", }, @@ -1457,6 +1558,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Schedule/OnTick0/Default", }, @@ -1465,6 +1567,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Schedule/OnTick0/IamRole", }, @@ -1473,6 +1576,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Schedule/OnTick0/IamRolePolicy", }, @@ -1481,6 +1585,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Schedule/OnTick0/IamRolePolicyAttachment", }, @@ -1489,6 +1594,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", "path": "root/Default/Schedule/OnTick0/InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", }, @@ -1497,6 +1603,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Schedule/OnTick0/S3Object", }, @@ -1517,6 +1624,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Schedule", "path": "root/Default/Schedule/Schedule", }, @@ -1525,6 +1633,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ScheduleTarget0", "path": "root/Default/Schedule/ScheduleTarget0", }, @@ -1545,6 +1654,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1553,6 +1663,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1561,6 +1672,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1569,6 +1681,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1577,6 +1690,7 @@ exports[`schedule with two functions 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/secret.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/secret.test.ts.snap index bbd3ace5ab1..0d8e49866e0 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/secret.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/secret.test.ts.snap @@ -32,6 +32,7 @@ exports[`default secret behavior 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Secret/Default", }, @@ -40,6 +41,7 @@ exports[`default secret behavior 2`] = ` "fqn": "cdktf.TerraformOutput", "version": "0.20.3", }, + "display": {}, "id": "SecretArn", "path": "root/Default/Secret/SecretArn", }, @@ -60,6 +62,7 @@ exports[`default secret behavior 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -68,6 +71,7 @@ exports[`default secret behavior 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -76,6 +80,7 @@ exports[`default secret behavior 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -84,6 +89,7 @@ exports[`default secret behavior 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -92,6 +98,7 @@ exports[`default secret behavior 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/table.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/table.test.ts.snap index fe359f9f465..4947dc17c3c 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/table.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/table.test.ts.snap @@ -140,6 +140,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -150,6 +151,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -158,6 +160,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Function/CloudwatchLogGroup", }, @@ -166,6 +169,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/Default", }, @@ -174,6 +178,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Function/IamRole", }, @@ -182,6 +187,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Function/IamRolePolicy", }, @@ -190,6 +196,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Function/IamRolePolicyAttachment", }, @@ -198,6 +205,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Function/S3Object", }, @@ -218,6 +226,9 @@ exports[`function with a table binding 3`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -228,6 +239,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Table/Default", }, @@ -248,6 +260,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -256,6 +269,7 @@ exports[`function with a table binding 3`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -264,6 +278,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -272,6 +287,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -280,6 +296,7 @@ exports[`function with a table binding 3`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/topic.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/topic.test.ts.snap index 3e385246e3d..8360ba7c65e 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/topic.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/topic.test.ts.snap @@ -27,6 +27,7 @@ exports[`default topic behavior 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Topic/Default", }, @@ -47,6 +48,7 @@ exports[`default topic behavior 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -55,6 +57,7 @@ exports[`default topic behavior 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -63,6 +66,7 @@ exports[`default topic behavior 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -71,6 +75,7 @@ exports[`default topic behavior 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -79,6 +84,7 @@ exports[`default topic behavior 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -113,6 +119,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/The%Spectacular@Topic/Default", }, @@ -133,6 +140,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -141,6 +149,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -149,6 +158,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -157,6 +167,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -165,6 +176,7 @@ exports[`replace invalid character from queue name 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -199,6 +211,7 @@ exports[`topic name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/The-Spectacular_Topic-01/Default", }, @@ -219,6 +232,7 @@ exports[`topic name valid 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -227,6 +241,7 @@ exports[`topic name valid 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -235,6 +250,7 @@ exports[`topic name valid 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -243,6 +259,7 @@ exports[`topic name valid 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -251,6 +268,7 @@ exports[`topic name valid 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -376,6 +394,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -384,6 +403,9 @@ exports[`topic with subscriber function 3`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -394,6 +416,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Topic/Default", }, @@ -402,6 +425,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "TopicSubscription0", "path": "root/Default/Topic/TopicSubscription0", }, @@ -424,6 +448,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Topic-OnMessage0/Asset", }, @@ -432,6 +457,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Topic-OnMessage0/CloudwatchLogGroup", }, @@ -440,6 +466,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Topic-OnMessage0/Default", }, @@ -448,6 +475,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Topic-OnMessage0/IamRole", }, @@ -456,6 +484,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Topic-OnMessage0/IamRolePolicy", }, @@ -464,6 +493,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Topic-OnMessage0/IamRolePolicyAttachment", }, @@ -472,6 +502,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c8228fb70d825c2a5610c610e5246d5313ea6bd1a2", "path": "root/Default/Topic-OnMessage0/InvokePermission-c8228fb70d825c2a5610c610e5246d5313ea6bd1a2", }, @@ -480,6 +511,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Topic-OnMessage0/S3Object", }, @@ -500,6 +532,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -508,6 +541,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -516,6 +550,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -524,6 +559,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -532,6 +568,7 @@ exports[`topic with subscriber function 3`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/website.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/website.test.ts.snap index b3161b78a50..3f898f2311d 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/website.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/website.test.ts.snap @@ -330,6 +330,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformDataSource", "version": "0.20.3", }, + "display": {}, "id": "AllowDistributionReadOnly", "path": "root/Default/Website/AllowDistributionReadOnly", }, @@ -338,6 +339,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "BucketWebsiteConfiguration", "path": "root/Default/Website/BucketWebsiteConfiguration", }, @@ -346,6 +348,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudfrontOac", "path": "root/Default/Website/CloudfrontOac", }, @@ -354,6 +357,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Distribution", "path": "root/Default/Website/Distribution", }, @@ -362,6 +366,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DistributionS3BucketPolicy", "path": "root/Default/Website/DistributionS3BucketPolicy", }, @@ -372,6 +377,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformOutput", "version": "0.20.3", }, + "display": {}, "id": "Url", "path": "root/Default/Website/Endpoint/Url", }, @@ -393,6 +399,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--b.html", "path": "root/Default/Website/File--b.html", }, @@ -401,6 +408,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--index.html", "path": "root/Default/Website/File--index.html", }, @@ -409,6 +417,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--inner-folder--a.html", "path": "root/Default/Website/File--inner-folder--a.html", }, @@ -417,6 +426,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "WebsiteBucket", "path": "root/Default/Website/WebsiteBucket", }, @@ -437,6 +447,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -445,6 +456,7 @@ exports[`default website behavior 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -453,6 +465,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -461,6 +474,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -469,6 +483,7 @@ exports[`default website behavior 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -650,6 +665,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformDataSource", "version": "0.20.3", }, + "display": {}, "id": "AllowDistributionReadOnly", "path": "root/Default/Website/AllowDistributionReadOnly", }, @@ -658,6 +674,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "BucketWebsiteConfiguration", "path": "root/Default/Website/BucketWebsiteConfiguration", }, @@ -666,6 +683,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudfrontOac", "path": "root/Default/Website/CloudfrontOac", }, @@ -674,6 +692,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Distribution", "path": "root/Default/Website/Distribution", }, @@ -682,6 +701,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DistributionS3BucketPolicy", "path": "root/Default/Website/DistributionS3BucketPolicy", }, @@ -692,6 +712,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformOutput", "version": "0.20.3", }, + "display": {}, "id": "Url", "path": "root/Default/Website/Endpoint/Url", }, @@ -713,6 +734,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--b.html", "path": "root/Default/Website/File--b.html", }, @@ -721,6 +743,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--index.html", "path": "root/Default/Website/File--index.html", }, @@ -729,6 +752,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--inner-folder--a.html", "path": "root/Default/Website/File--inner-folder--a.html", }, @@ -737,6 +761,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File-addition.html", "path": "root/Default/Website/File-addition.html", }, @@ -745,6 +770,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "WebsiteBucket", "path": "root/Default/Website/WebsiteBucket", }, @@ -765,6 +791,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -773,6 +800,7 @@ exports[`website with addFile 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -781,6 +809,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -789,6 +818,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -797,6 +827,7 @@ exports[`website with addFile 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -978,6 +1009,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformDataSource", "version": "0.20.3", }, + "display": {}, "id": "AllowDistributionReadOnly", "path": "root/Default/Website/AllowDistributionReadOnly", }, @@ -986,6 +1018,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "BucketWebsiteConfiguration", "path": "root/Default/Website/BucketWebsiteConfiguration", }, @@ -994,6 +1027,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudfrontOac", "path": "root/Default/Website/CloudfrontOac", }, @@ -1002,6 +1036,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Distribution", "path": "root/Default/Website/Distribution", }, @@ -1010,6 +1045,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DistributionS3BucketPolicy", "path": "root/Default/Website/DistributionS3BucketPolicy", }, @@ -1020,6 +1056,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformOutput", "version": "0.20.3", }, + "display": {}, "id": "Url", "path": "root/Default/Website/Endpoint/Url", }, @@ -1041,6 +1078,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--b.html", "path": "root/Default/Website/File--b.html", }, @@ -1049,6 +1087,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--index.html", "path": "root/Default/Website/File--index.html", }, @@ -1057,6 +1096,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File--inner-folder--a.html", "path": "root/Default/Website/File--inner-folder--a.html", }, @@ -1065,6 +1105,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "File-config.json", "path": "root/Default/Website/File-config.json", }, @@ -1073,6 +1114,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "WebsiteBucket", "path": "root/Default/Website/WebsiteBucket", }, @@ -1093,6 +1135,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -1101,6 +1144,7 @@ exports[`website with addJson 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1109,6 +1153,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1117,6 +1162,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1125,6 +1171,7 @@ exports[`website with addJson 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-azure/__snapshots__/bucket.test.ts.snap b/libs/wingsdk/test/target-tf-azure/__snapshots__/bucket.test.ts.snap index 9880e3ae2be..2ba9e697c62 100644 --- a/libs/wingsdk/test/target-tf-azure/__snapshots__/bucket.test.ts.snap +++ b/libs/wingsdk/test/target-tf-azure/__snapshots__/bucket.test.ts.snap @@ -42,6 +42,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -50,6 +51,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -58,6 +60,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -68,6 +71,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/my_bucket/Bucket", }, @@ -88,6 +92,7 @@ exports[`bucket is public 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -96,6 +101,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -104,6 +110,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -112,6 +119,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -161,6 +169,7 @@ exports[`bucket name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -169,6 +178,7 @@ exports[`bucket name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -179,6 +189,7 @@ exports[`bucket name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/The-Uncanny-Bucket/Bucket", }, @@ -199,6 +210,7 @@ exports[`bucket name valid 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -207,6 +219,7 @@ exports[`bucket name valid 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -215,6 +228,7 @@ exports[`bucket name valid 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -223,6 +237,7 @@ exports[`bucket name valid 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -231,6 +246,7 @@ exports[`bucket name valid 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -296,6 +312,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -304,6 +321,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -312,6 +330,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -322,6 +341,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Blob-file1.txt", "path": "root/Default/my_bucket/Blob-file1.txt", }, @@ -330,6 +350,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Blob-file2.txt", "path": "root/Default/my_bucket/Blob-file2.txt", }, @@ -338,6 +359,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/my_bucket/Bucket", }, @@ -358,6 +380,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -366,6 +389,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -374,6 +398,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -382,6 +407,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -447,6 +473,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -455,6 +482,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -463,6 +491,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -473,6 +502,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Blob-file1.txt", "path": "root/Default/my_bucket/Blob-file1.txt", }, @@ -481,6 +511,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Blob-file2.txt", "path": "root/Default/my_bucket/Blob-file2.txt", }, @@ -489,6 +520,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/my_bucket/Bucket", }, @@ -509,6 +541,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -517,6 +550,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -525,6 +559,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -533,6 +568,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -582,6 +618,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -590,6 +627,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -598,6 +636,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -608,6 +647,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/my_bucket/Bucket", }, @@ -628,6 +668,7 @@ exports[`create a bucket 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -636,6 +677,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -644,6 +686,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -652,6 +695,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -706,6 +750,7 @@ exports[`create multiple buckets 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -714,6 +759,7 @@ exports[`create multiple buckets 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -722,6 +768,7 @@ exports[`create multiple buckets 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -732,6 +779,7 @@ exports[`create multiple buckets 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/my_bucket/Bucket", }, @@ -754,6 +802,7 @@ exports[`create multiple buckets 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/my_bucket2/Bucket", }, @@ -774,6 +823,7 @@ exports[`create multiple buckets 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -782,6 +832,7 @@ exports[`create multiple buckets 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -790,6 +841,7 @@ exports[`create multiple buckets 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -798,6 +850,7 @@ exports[`create multiple buckets 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-azure/__snapshots__/counter.test.ts.snap b/libs/wingsdk/test/target-tf-azure/__snapshots__/counter.test.ts.snap index 19cf4b14359..791ed49db60 100644 --- a/libs/wingsdk/test/target-tf-azure/__snapshots__/counter.test.ts.snap +++ b/libs/wingsdk/test/target-tf-azure/__snapshots__/counter.test.ts.snap @@ -41,6 +41,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -49,6 +50,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -57,6 +59,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -67,6 +70,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CounterTable", "path": "root/Default/wingcounter/CounterTable", }, @@ -87,6 +91,7 @@ exports[`counter name valid 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -95,6 +100,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -103,6 +109,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -111,6 +118,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -161,6 +169,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CounterTable", "path": "root/Default/Counter/CounterTable", }, @@ -181,6 +190,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -189,6 +199,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -197,6 +208,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -205,6 +217,7 @@ exports[`counter with initial value 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -213,6 +226,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -221,6 +235,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -229,6 +244,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -358,6 +374,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ApplicationInsights", "path": "root/Default/ApplicationInsights", }, @@ -368,6 +385,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CounterTable", "path": "root/Default/Counter/CounterTable", }, @@ -390,6 +408,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -398,6 +417,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CodeBlob", "path": "root/Default/Function/CodeBlob", }, @@ -406,6 +426,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Function", "path": "root/Default/Function/Function", }, @@ -416,6 +437,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/Function/FunctionBucket/Bucket", }, @@ -436,6 +458,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ReadLambdaCodeAssignment", "path": "root/Default/Function/ReadLambdaCodeAssignment", }, @@ -444,6 +467,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", "path": "root/Default/Function/RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", }, @@ -464,6 +488,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "LogAnalyticsWorkspace", "path": "root/Default/LogAnalyticsWorkspace", }, @@ -472,6 +497,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -480,6 +506,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServicePlan", "path": "root/Default/ServicePlan", }, @@ -488,6 +515,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -496,6 +524,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -504,6 +533,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -512,6 +542,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -520,6 +551,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -528,6 +560,7 @@ exports[`dec() policy statement 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -685,6 +718,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ApplicationInsights", "path": "root/Default/ApplicationInsights", }, @@ -695,6 +729,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CounterTable", "path": "root/Default/Counter/CounterTable", }, @@ -717,6 +752,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -725,6 +761,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CodeBlob", "path": "root/Default/Function/CodeBlob", }, @@ -733,6 +770,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Function", "path": "root/Default/Function/Function", }, @@ -743,6 +781,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/Function/FunctionBucket/Bucket", }, @@ -763,6 +802,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ReadLambdaCodeAssignment", "path": "root/Default/Function/ReadLambdaCodeAssignment", }, @@ -771,6 +811,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", "path": "root/Default/Function/RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", }, @@ -791,6 +832,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "LogAnalyticsWorkspace", "path": "root/Default/LogAnalyticsWorkspace", }, @@ -799,6 +841,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -807,6 +850,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServicePlan", "path": "root/Default/ServicePlan", }, @@ -815,6 +859,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -823,6 +868,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -831,6 +877,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -839,6 +886,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -847,6 +895,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -855,6 +904,7 @@ exports[`function with a counter binding 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -984,6 +1034,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ApplicationInsights", "path": "root/Default/ApplicationInsights", }, @@ -994,6 +1045,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CounterTable", "path": "root/Default/Counter/CounterTable", }, @@ -1016,6 +1068,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -1024,6 +1077,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CodeBlob", "path": "root/Default/Function/CodeBlob", }, @@ -1032,6 +1086,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Function", "path": "root/Default/Function/Function", }, @@ -1042,6 +1097,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/Function/FunctionBucket/Bucket", }, @@ -1062,6 +1118,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ReadLambdaCodeAssignment", "path": "root/Default/Function/ReadLambdaCodeAssignment", }, @@ -1070,6 +1127,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", "path": "root/Default/Function/RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", }, @@ -1090,6 +1148,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "LogAnalyticsWorkspace", "path": "root/Default/LogAnalyticsWorkspace", }, @@ -1098,6 +1157,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -1106,6 +1166,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServicePlan", "path": "root/Default/ServicePlan", }, @@ -1114,6 +1175,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -1122,6 +1184,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -1130,6 +1193,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1138,6 +1202,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1146,6 +1211,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1154,6 +1220,7 @@ exports[`inc() policy statement 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1283,6 +1350,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ApplicationInsights", "path": "root/Default/ApplicationInsights", }, @@ -1293,6 +1361,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CounterTable", "path": "root/Default/Counter/CounterTable", }, @@ -1315,6 +1384,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -1323,6 +1393,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CodeBlob", "path": "root/Default/Function/CodeBlob", }, @@ -1331,6 +1402,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Function", "path": "root/Default/Function/Function", }, @@ -1341,6 +1413,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/Function/FunctionBucket/Bucket", }, @@ -1361,6 +1434,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ReadLambdaCodeAssignment", "path": "root/Default/Function/ReadLambdaCodeAssignment", }, @@ -1369,6 +1443,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Reader", "path": "root/Default/Function/RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Reader", }, @@ -1389,6 +1464,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "LogAnalyticsWorkspace", "path": "root/Default/LogAnalyticsWorkspace", }, @@ -1397,6 +1473,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -1405,6 +1482,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServicePlan", "path": "root/Default/ServicePlan", }, @@ -1413,6 +1491,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -1421,6 +1500,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -1429,6 +1509,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1437,6 +1518,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1445,6 +1527,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1453,6 +1536,7 @@ exports[`peek() policy statement 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1501,6 +1585,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -1509,6 +1594,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -1519,6 +1605,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CounterTable", "path": "root/Default/The*Amazing%Counter@01/CounterTable", }, @@ -1539,6 +1626,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -1547,6 +1635,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1555,6 +1644,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1563,6 +1653,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1571,6 +1662,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1700,6 +1792,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ApplicationInsights", "path": "root/Default/ApplicationInsights", }, @@ -1710,6 +1803,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CounterTable", "path": "root/Default/Counter/CounterTable", }, @@ -1732,6 +1826,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -1740,6 +1835,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CodeBlob", "path": "root/Default/Function/CodeBlob", }, @@ -1748,6 +1844,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Function", "path": "root/Default/Function/Function", }, @@ -1758,6 +1855,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/Function/FunctionBucket/Bucket", }, @@ -1778,6 +1876,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ReadLambdaCodeAssignment", "path": "root/Default/Function/ReadLambdaCodeAssignment", }, @@ -1786,6 +1885,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", "path": "root/Default/Function/RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", }, @@ -1806,6 +1906,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "LogAnalyticsWorkspace", "path": "root/Default/LogAnalyticsWorkspace", }, @@ -1814,6 +1915,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -1822,6 +1924,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServicePlan", "path": "root/Default/ServicePlan", }, @@ -1830,6 +1933,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -1838,6 +1942,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -1846,6 +1951,7 @@ exports[`set() policy statement 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1854,6 +1960,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1862,6 +1969,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1870,6 +1978,7 @@ exports[`set() policy statement 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-azure/__snapshots__/function.test.ts.snap b/libs/wingsdk/test/target-tf-azure/__snapshots__/function.test.ts.snap index eb5d861efe7..139e32c4013 100644 --- a/libs/wingsdk/test/target-tf-azure/__snapshots__/function.test.ts.snap +++ b/libs/wingsdk/test/target-tf-azure/__snapshots__/function.test.ts.snap @@ -108,6 +108,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ApplicationInsights", "path": "root/Default/ApplicationInsights", }, @@ -118,6 +119,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -126,6 +128,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CodeBlob", "path": "root/Default/Function/CodeBlob", }, @@ -134,6 +137,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Function", "path": "root/Default/Function/Function", }, @@ -144,6 +148,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/Function/FunctionBucket/Bucket", }, @@ -164,6 +169,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ReadLambdaCodeAssignment", "path": "root/Default/Function/ReadLambdaCodeAssignment", }, @@ -184,6 +190,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "LogAnalyticsWorkspace", "path": "root/Default/LogAnalyticsWorkspace", }, @@ -192,6 +199,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -200,6 +208,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServicePlan", "path": "root/Default/ServicePlan", }, @@ -208,6 +217,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -216,6 +226,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -224,6 +235,7 @@ exports[`basic function 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -232,6 +244,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -240,6 +253,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -248,6 +262,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -365,6 +380,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ApplicationInsights", "path": "root/Default/ApplicationInsights", }, @@ -375,6 +391,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -383,6 +400,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CodeBlob", "path": "root/Default/Function/CodeBlob", }, @@ -391,6 +409,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Function", "path": "root/Default/Function/Function", }, @@ -401,6 +420,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/Function/FunctionBucket/Bucket", }, @@ -421,6 +441,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ReadLambdaCodeAssignment", "path": "root/Default/Function/ReadLambdaCodeAssignment", }, @@ -441,6 +462,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "LogAnalyticsWorkspace", "path": "root/Default/LogAnalyticsWorkspace", }, @@ -449,6 +471,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -457,6 +480,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServicePlan", "path": "root/Default/ServicePlan", }, @@ -465,6 +489,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -473,6 +498,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -481,6 +507,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -489,6 +516,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -497,6 +525,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -505,6 +534,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -620,6 +650,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ApplicationInsights", "path": "root/Default/ApplicationInsights", }, @@ -628,6 +659,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "LogAnalyticsWorkspace", "path": "root/Default/LogAnalyticsWorkspace", }, @@ -636,6 +668,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ResourceGroup", "path": "root/Default/ResourceGroup", }, @@ -644,6 +677,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServicePlan", "path": "root/Default/ServicePlan", }, @@ -652,6 +686,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "StorageAccount", "path": "root/Default/StorageAccount", }, @@ -660,6 +695,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "azure", "path": "root/Default/azure", }, @@ -670,6 +706,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/someFunction01/Asset", }, @@ -678,6 +715,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CodeBlob", "path": "root/Default/someFunction01/CodeBlob", }, @@ -686,6 +724,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Function", "path": "root/Default/someFunction01/Function", }, @@ -696,6 +735,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Bucket", "path": "root/Default/someFunction01/FunctionBucket/Bucket", }, @@ -716,6 +756,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ReadLambdaCodeAssignment", "path": "root/Default/someFunction01/ReadLambdaCodeAssignment", }, @@ -736,6 +777,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -744,6 +786,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -752,6 +795,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -760,6 +804,7 @@ exports[`replace invalid character from function name 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-gcp/__snapshots__/bucket.test.ts.snap b/libs/wingsdk/test/target-tf-gcp/__snapshots__/bucket.test.ts.snap index a08908926f4..0857f557e4d 100644 --- a/libs/wingsdk/test/target-tf-gcp/__snapshots__/bucket.test.ts.snap +++ b/libs/wingsdk/test/target-tf-gcp/__snapshots__/bucket.test.ts.snap @@ -51,6 +51,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -61,6 +62,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -69,6 +71,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/my_bucket/IamServiceAccountCredentialsApi", }, @@ -77,6 +80,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/my_bucket/Id", }, @@ -85,6 +89,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublicAccessIamMember", "path": "root/Default/my_bucket/PublicAccessIamMember", }, @@ -105,6 +110,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -113,6 +119,7 @@ exports[`bucket is public 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -121,6 +128,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -129,6 +137,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -137,6 +146,7 @@ exports[`bucket is public 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -200,6 +210,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -210,6 +221,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -218,6 +230,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/my_bucket/IamServiceAccountCredentialsApi", }, @@ -226,6 +239,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/my_bucket/Id", }, @@ -234,6 +248,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Object-file1.txt", "path": "root/Default/my_bucket/Object-file1.txt", }, @@ -242,6 +257,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Object-file2.txt", "path": "root/Default/my_bucket/Object-file2.txt", }, @@ -262,6 +278,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -270,6 +287,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -278,6 +296,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -286,6 +305,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -294,6 +314,7 @@ exports[`bucket with two preflight files 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -357,6 +378,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -367,6 +389,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -375,6 +398,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/my_bucket/IamServiceAccountCredentialsApi", }, @@ -383,6 +407,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/my_bucket/Id", }, @@ -391,6 +416,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Object-file1.txt", "path": "root/Default/my_bucket/Object-file1.txt", }, @@ -399,6 +425,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Object-file2.txt", "path": "root/Default/my_bucket/Object-file2.txt", }, @@ -419,6 +446,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -427,6 +455,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -435,6 +464,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -443,6 +473,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -451,6 +482,7 @@ exports[`bucket with two preflight objects 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -502,6 +534,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -512,6 +545,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket/Default", }, @@ -520,6 +554,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/my_bucket/IamServiceAccountCredentialsApi", }, @@ -528,6 +563,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/my_bucket/Id", }, @@ -548,6 +584,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -556,6 +593,7 @@ exports[`create a bucket 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -564,6 +602,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -572,6 +611,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -580,6 +620,7 @@ exports[`create a bucket 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -649,6 +690,7 @@ exports[`two buckets 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -659,6 +701,7 @@ exports[`two buckets 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket1/Default", }, @@ -667,6 +710,7 @@ exports[`two buckets 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/my_bucket1/IamServiceAccountCredentialsApi", }, @@ -675,6 +719,7 @@ exports[`two buckets 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/my_bucket1/Id", }, @@ -697,6 +742,7 @@ exports[`two buckets 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/my_bucket2/Default", }, @@ -705,6 +751,7 @@ exports[`two buckets 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/my_bucket2/IamServiceAccountCredentialsApi", }, @@ -713,6 +760,7 @@ exports[`two buckets 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/my_bucket2/Id", }, @@ -733,6 +781,7 @@ exports[`two buckets 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -741,6 +790,7 @@ exports[`two buckets 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -749,6 +799,7 @@ exports[`two buckets 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -757,6 +808,7 @@ exports[`two buckets 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -765,6 +817,7 @@ exports[`two buckets 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-gcp/__snapshots__/counter.test.ts.snap b/libs/wingsdk/test/target-tf-gcp/__snapshots__/counter.test.ts.snap index c6376fe925a..d9ac684ad2c 100644 --- a/libs/wingsdk/test/target-tf-gcp/__snapshots__/counter.test.ts.snap +++ b/libs/wingsdk/test/target-tf-gcp/__snapshots__/counter.test.ts.snap @@ -43,6 +43,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudFirestoreAPI", "path": "root/Default/The.Amazing-Counter_01/CloudFirestoreAPI", }, @@ -51,6 +52,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/The.Amazing-Counter_01/Default", }, @@ -71,6 +73,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -79,6 +82,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -87,6 +91,7 @@ exports[`counter name valid 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -95,6 +100,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -103,6 +109,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -111,6 +118,7 @@ exports[`counter name valid 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -161,6 +169,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudFirestoreAPI", "path": "root/Default/Counter/CloudFirestoreAPI", }, @@ -169,6 +178,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -189,6 +199,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -197,6 +208,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -205,6 +217,7 @@ exports[`counter with initial value 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -213,6 +226,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -221,6 +235,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -229,6 +244,7 @@ exports[`counter with initial value 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -353,6 +369,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudFirestoreAPI", "path": "root/Default/Counter/CloudFirestoreAPI", }, @@ -361,6 +378,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -383,6 +401,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -391,6 +410,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -399,6 +419,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DefaultFunction", "path": "root/Default/Function/DefaultFunction", }, @@ -409,6 +430,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/FunctionBucket/Default", }, @@ -417,6 +439,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/Function/FunctionBucket/IamServiceAccountCredentialsApi", }, @@ -425,6 +448,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/Function/FunctionBucket/Id", }, @@ -445,6 +469,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "FunctionObjectBucket", "path": "root/Default/Function/FunctionObjectBucket", }, @@ -453,6 +478,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ProjectIamMember", "path": "root/Default/Function/ProjectIamMember", }, @@ -461,6 +487,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -481,6 +508,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -489,6 +517,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -497,6 +526,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -505,6 +535,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -513,6 +544,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -521,6 +553,7 @@ exports[`dec() IAM permissions 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -691,6 +724,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudFirestoreAPI", "path": "root/Default/Counter/CloudFirestoreAPI", }, @@ -699,6 +733,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -721,6 +756,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -729,6 +765,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -737,6 +774,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DefaultFunction", "path": "root/Default/Function/DefaultFunction", }, @@ -747,6 +785,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/FunctionBucket/Default", }, @@ -755,6 +794,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/Function/FunctionBucket/IamServiceAccountCredentialsApi", }, @@ -763,6 +803,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/Function/FunctionBucket/Id", }, @@ -783,6 +824,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "FunctionObjectBucket", "path": "root/Default/Function/FunctionObjectBucket", }, @@ -791,6 +833,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ProjectIamMember", "path": "root/Default/Function/ProjectIamMember", }, @@ -799,6 +842,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -819,6 +863,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -827,6 +872,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -835,6 +881,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -843,6 +890,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -851,6 +899,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -859,6 +908,7 @@ exports[`function with a counter binding 3`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -983,6 +1033,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudFirestoreAPI", "path": "root/Default/Counter/CloudFirestoreAPI", }, @@ -991,6 +1042,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -1013,6 +1065,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -1021,6 +1074,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -1029,6 +1083,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DefaultFunction", "path": "root/Default/Function/DefaultFunction", }, @@ -1039,6 +1094,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/FunctionBucket/Default", }, @@ -1047,6 +1103,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/Function/FunctionBucket/IamServiceAccountCredentialsApi", }, @@ -1055,6 +1112,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/Function/FunctionBucket/Id", }, @@ -1075,6 +1133,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "FunctionObjectBucket", "path": "root/Default/Function/FunctionObjectBucket", }, @@ -1083,6 +1142,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ProjectIamMember", "path": "root/Default/Function/ProjectIamMember", }, @@ -1091,6 +1151,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -1111,6 +1172,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -1119,6 +1181,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -1127,6 +1190,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1135,6 +1199,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1143,6 +1208,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1151,6 +1217,7 @@ exports[`inc() IAM permissions 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1274,6 +1341,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudFirestoreAPI", "path": "root/Default/Counter/CloudFirestoreAPI", }, @@ -1282,6 +1350,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -1304,6 +1373,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -1312,6 +1382,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -1320,6 +1391,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DefaultFunction", "path": "root/Default/Function/DefaultFunction", }, @@ -1330,6 +1402,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/FunctionBucket/Default", }, @@ -1338,6 +1411,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/Function/FunctionBucket/IamServiceAccountCredentialsApi", }, @@ -1346,6 +1420,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/Function/FunctionBucket/Id", }, @@ -1366,6 +1441,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "FunctionObjectBucket", "path": "root/Default/Function/FunctionObjectBucket", }, @@ -1374,6 +1450,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ProjectIamMember", "path": "root/Default/Function/ProjectIamMember", }, @@ -1382,6 +1459,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -1402,6 +1480,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -1410,6 +1489,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -1418,6 +1498,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1426,6 +1507,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1434,6 +1516,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1442,6 +1525,7 @@ exports[`peek() IAM permissions 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1492,6 +1576,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudFirestoreAPI", "path": "root/Default/The*Amazing%Counter@01/CloudFirestoreAPI", }, @@ -1500,6 +1585,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/The*Amazing%Counter@01/Default", }, @@ -1520,6 +1606,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -1528,6 +1615,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -1536,6 +1624,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1544,6 +1633,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1552,6 +1642,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1560,6 +1651,7 @@ exports[`replace invalid character from counter name 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -1683,6 +1775,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudFirestoreAPI", "path": "root/Default/Counter/CloudFirestoreAPI", }, @@ -1691,6 +1784,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Counter/Default", }, @@ -1713,6 +1807,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -1721,6 +1816,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -1729,6 +1825,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DefaultFunction", "path": "root/Default/Function/DefaultFunction", }, @@ -1739,6 +1836,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/FunctionBucket/Default", }, @@ -1747,6 +1845,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/Function/FunctionBucket/IamServiceAccountCredentialsApi", }, @@ -1755,6 +1854,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/Function/FunctionBucket/Id", }, @@ -1775,6 +1875,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "FunctionObjectBucket", "path": "root/Default/Function/FunctionObjectBucket", }, @@ -1783,6 +1884,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ProjectIamMember", "path": "root/Default/Function/ProjectIamMember", }, @@ -1791,6 +1893,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -1811,6 +1914,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -1819,6 +1923,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -1827,6 +1932,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -1835,6 +1941,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -1843,6 +1950,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -1851,6 +1959,7 @@ exports[`set() IAM permissions 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-gcp/__snapshots__/function.test.ts.snap b/libs/wingsdk/test/target-tf-gcp/__snapshots__/function.test.ts.snap index ba50a9f991e..e86b896a57a 100644 --- a/libs/wingsdk/test/target-tf-gcp/__snapshots__/function.test.ts.snap +++ b/libs/wingsdk/test/target-tf-gcp/__snapshots__/function.test.ts.snap @@ -93,6 +93,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -101,6 +102,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -109,6 +111,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DefaultFunction", "path": "root/Default/Function/DefaultFunction", }, @@ -119,6 +122,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/FunctionBucket/Default", }, @@ -127,6 +131,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/Function/FunctionBucket/IamServiceAccountCredentialsApi", }, @@ -135,6 +140,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/Function/FunctionBucket/Id", }, @@ -155,6 +161,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "FunctionObjectBucket", "path": "root/Default/Function/FunctionObjectBucket", }, @@ -163,6 +170,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ProjectIamMember", "path": "root/Default/Function/ProjectIamMember", }, @@ -171,6 +179,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -191,6 +200,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -199,6 +209,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -207,6 +218,7 @@ exports[`basic function 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -215,6 +227,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -223,6 +236,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -231,6 +245,7 @@ exports[`basic function 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -334,6 +349,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -342,6 +358,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -350,6 +367,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DefaultFunction", "path": "root/Default/Function/DefaultFunction", }, @@ -360,6 +378,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/FunctionBucket/Default", }, @@ -368,6 +387,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/Function/FunctionBucket/IamServiceAccountCredentialsApi", }, @@ -376,6 +396,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/Function/FunctionBucket/Id", }, @@ -396,6 +417,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "FunctionObjectBucket", "path": "root/Default/Function/FunctionObjectBucket", }, @@ -404,6 +426,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ProjectIamMember", "path": "root/Default/Function/ProjectIamMember", }, @@ -412,6 +435,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -432,6 +456,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -440,6 +465,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -448,6 +474,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -456,6 +483,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -464,6 +492,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -472,6 +501,7 @@ exports[`basic function with environment variables 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -574,6 +604,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -582,6 +613,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -590,6 +622,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DefaultFunction", "path": "root/Default/Function/DefaultFunction", }, @@ -600,6 +633,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/FunctionBucket/Default", }, @@ -608,6 +642,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/Function/FunctionBucket/IamServiceAccountCredentialsApi", }, @@ -616,6 +651,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/Function/FunctionBucket/Id", }, @@ -636,6 +672,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "FunctionObjectBucket", "path": "root/Default/Function/FunctionObjectBucket", }, @@ -644,6 +681,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ProjectIamMember", "path": "root/Default/Function/ProjectIamMember", }, @@ -652,6 +690,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -672,6 +711,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -680,6 +720,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -688,6 +729,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -696,6 +738,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -704,6 +747,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -712,6 +756,7 @@ exports[`basic function with memory size specified 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, @@ -814,6 +859,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Function/Asset", }, @@ -822,6 +868,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -830,6 +877,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DefaultFunction", "path": "root/Default/Function/DefaultFunction", }, @@ -840,6 +888,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Function/FunctionBucket/Default", }, @@ -848,6 +897,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/Function/FunctionBucket/IamServiceAccountCredentialsApi", }, @@ -856,6 +906,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/Function/FunctionBucket/Id", }, @@ -876,6 +927,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "FunctionObjectBucket", "path": "root/Default/Function/FunctionObjectBucket", }, @@ -884,6 +936,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ProjectIamMember", "path": "root/Default/Function/ProjectIamMember", }, @@ -892,6 +945,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", "path": "root/Default/Function/ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", }, @@ -912,6 +966,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -920,6 +975,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -928,6 +984,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -936,6 +993,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -944,6 +1002,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -952,6 +1011,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/libs/wingsdk/test/target-tf-gcp/__snapshots__/schedule.test.ts.snap b/libs/wingsdk/test/target-tf-gcp/__snapshots__/schedule.test.ts.snap index 7f742e263fe..2ff99b9284c 100644 --- a/libs/wingsdk/test/target-tf-gcp/__snapshots__/schedule.test.ts.snap +++ b/libs/wingsdk/test/target-tf-gcp/__snapshots__/schedule.test.ts.snap @@ -124,6 +124,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Schedule/OnTick0/Asset", }, @@ -132,6 +133,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CustomRolec8e1d4a853a6dfc6d497de76ef87d4c5a00da4ae0a", "path": "root/Default/Schedule/OnTick0/CustomRolec8e1d4a853a6dfc6d497de76ef87d4c5a00da4ae0a", }, @@ -140,6 +142,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "DefaultFunction", "path": "root/Default/Schedule/OnTick0/DefaultFunction", }, @@ -150,6 +153,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Schedule/OnTick0/FunctionBucket/Default", }, @@ -158,6 +162,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamServiceAccountCredentialsApi", "path": "root/Default/Schedule/OnTick0/FunctionBucket/IamServiceAccountCredentialsApi", }, @@ -166,6 +171,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Id", "path": "root/Default/Schedule/OnTick0/FunctionBucket/Id", }, @@ -186,6 +192,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "FunctionObjectBucket", "path": "root/Default/Schedule/OnTick0/FunctionObjectBucket", }, @@ -194,6 +201,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ProjectIamMember", "path": "root/Default/Schedule/OnTick0/ProjectIamMember", }, @@ -202,6 +210,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "ServiceAccountc8e1d4a853a6dfc6d497de76ef87d4c5a00da4ae0a", "path": "root/Default/Schedule/OnTick0/ServiceAccountc8e1d4a853a6dfc6d497de76ef87d4c5a00da4ae0a", }, @@ -210,6 +219,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "invoker-permission-KEN.11]}", "path": "root/Default/Schedule/OnTick0/invoker-permission-KEN.11]}", }, @@ -230,6 +240,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Scheduler", "path": "root/Default/Schedule/Scheduler", }, @@ -238,6 +249,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "SchedulerServiceAccount", "path": "root/Default/Schedule/SchedulerServiceAccount", }, @@ -258,6 +270,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "google", "path": "root/Default/google", }, @@ -266,6 +279,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "random", "path": "root/Default/random", }, @@ -274,6 +288,7 @@ exports[`create a schedule 2`] = ` "fqn": "constructs.Construct", "version": "10.3.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -282,6 +297,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -290,6 +306,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -298,6 +315,7 @@ exports[`create a schedule 2`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md index dae379bedc7..313b72c26fe 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md @@ -94,7 +94,8 @@ class $Root extends $stdlib.std.Resource { }); } } - this.node.root.new("@cdktf/provider-aws.s3Bucket.S3Bucket", aws.s3Bucket.S3Bucket, this, "Bucket", { bucketPrefix: "hello", versioning: ({"enabled": true, "mfaDelete": true}) }); + const bucket = this.node.root.new("@cdktf/provider-aws.s3Bucket.S3Bucket", aws.s3Bucket.S3Bucket, this, "Bucket", { bucketPrefix: "hello", versioning: ({"enabled": true, "mfaDelete": true}) }); + $helpers.nodeof(bucket).color = "pink"; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/tree_json.ts.snap b/tools/hangar/__snapshots__/tree_json.ts.snap index 88e2f15bb11..dc0ca6ea343 100644 --- a/tools/hangar/__snapshots__/tree_json.ts.snap +++ b/tools/hangar/__snapshots__/tree_json.ts.snap @@ -13,6 +13,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Code", "path": "root/Default/Code", }, @@ -51,6 +52,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Default/Bar/Foo/Counter/Default", }, @@ -126,6 +128,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Default/BigPublisher/Bucket/Default", }, @@ -148,6 +151,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Default/BigPublisher/Queue/Default", }, @@ -156,6 +160,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "EventSourceMapping", "path": "root/Default/Default/BigPublisher/Queue/EventSourceMapping", }, @@ -178,6 +183,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Default/BigPublisher/Queue-SetConsumer0/Asset", }, @@ -186,6 +192,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Default/BigPublisher/Queue-SetConsumer0/CloudwatchLogGroup", }, @@ -194,6 +201,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Default/BigPublisher/Queue-SetConsumer0/Default", }, @@ -202,6 +210,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Default/BigPublisher/Queue-SetConsumer0/IamRole", }, @@ -210,6 +219,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Default/BigPublisher/Queue-SetConsumer0/IamRolePolicy", }, @@ -218,6 +228,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Default/BigPublisher/Queue-SetConsumer0/IamRolePolicyAttachment", }, @@ -226,6 +237,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Default/BigPublisher/Queue-SetConsumer0/S3Object", }, @@ -248,6 +260,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Default/BigPublisher/Topic/Default", }, @@ -256,6 +269,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "TopicSubscription0", "path": "root/Default/Default/BigPublisher/Topic/TopicSubscription0", }, @@ -278,6 +292,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Default/BigPublisher/Topic-OnMessage0/Asset", }, @@ -286,6 +301,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Default/BigPublisher/Topic-OnMessage0/CloudwatchLogGroup", }, @@ -294,6 +310,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Default/BigPublisher/Topic-OnMessage0/Default", }, @@ -302,6 +319,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Default/BigPublisher/Topic-OnMessage0/IamRole", }, @@ -310,6 +328,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Default/BigPublisher/Topic-OnMessage0/IamRolePolicy", }, @@ -318,6 +337,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Default/BigPublisher/Topic-OnMessage0/IamRolePolicyAttachment", }, @@ -326,6 +346,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c884cd53ef51dde6112319447c29f4ea9473f19e6a", "path": "root/Default/Default/BigPublisher/Topic-OnMessage0/InvokePermission-c884cd53ef51dde6112319447c29f4ea9473f19e6a", }, @@ -334,6 +355,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Default/BigPublisher/Topic-OnMessage0/S3Object", }, @@ -356,6 +378,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Default/BigPublisher/b2/Default", }, @@ -364,6 +387,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3BucketNotification", "path": "root/Default/Default/BigPublisher/b2/S3BucketNotification", }, @@ -374,6 +398,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Default/BigPublisher/b2/oncreate/Default", }, @@ -382,6 +407,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "PublishPermission-c851683a81379a8ef8351c83fe31924055584271ad", "path": "root/Default/Default/BigPublisher/b2/oncreate/PublishPermission-c851683a81379a8ef8351c83fe31924055584271ad", }, @@ -390,6 +416,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "TopicSubscription0", "path": "root/Default/Default/BigPublisher/b2/oncreate/TopicSubscription0", }, @@ -412,6 +439,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformAsset", "version": "0.20.3", }, + "display": {}, "id": "Asset", "path": "root/Default/Default/BigPublisher/b2/oncreate-OnMessage0/Asset", }, @@ -420,6 +448,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "CloudwatchLogGroup", "path": "root/Default/Default/BigPublisher/b2/oncreate-OnMessage0/CloudwatchLogGroup", }, @@ -428,6 +457,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Default/BigPublisher/b2/oncreate-OnMessage0/Default", }, @@ -436,6 +466,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRole", "path": "root/Default/Default/BigPublisher/b2/oncreate-OnMessage0/IamRole", }, @@ -444,6 +475,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicy", "path": "root/Default/Default/BigPublisher/b2/oncreate-OnMessage0/IamRolePolicy", }, @@ -452,6 +484,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "IamRolePolicyAttachment", "path": "root/Default/Default/BigPublisher/b2/oncreate-OnMessage0/IamRolePolicyAttachment", }, @@ -460,6 +493,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "InvokePermission-c849e824f9ffcc17825860cf0b7344a60826b3ba1a", "path": "root/Default/Default/BigPublisher/b2/oncreate-OnMessage0/InvokePermission-c849e824f9ffcc17825860cf0b7344a60826b3ba1a", }, @@ -468,6 +502,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "S3Object", "path": "root/Default/Default/BigPublisher/b2/oncreate-OnMessage0/S3Object", }, @@ -511,6 +546,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformResource", "version": "0.20.3", }, + "display": {}, "id": "Default", "path": "root/Default/Default/Bucket/Default", }, @@ -646,6 +682,9 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "@winglang/sdk.platform.ParameterRegistrar", "version": "0.0.0", }, + "display": { + "hidden": true, + }, "id": "ParameterRegistrar", "path": "root/Default/ParameterRegistrar", }, @@ -654,6 +693,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformProvider", "version": "0.20.3", }, + "display": {}, "id": "aws", "path": "root/Default/aws", }, @@ -662,6 +702,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "@winglang/sdk.core.App", "version": "0.0.0", }, + "display": {}, "id": "Default", "path": "root/Default", }, @@ -670,6 +711,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.LocalBackend", "version": "0.20.3", }, + "display": {}, "id": "backend", "path": "root/backend", }, @@ -678,6 +720,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.TerraformStack", "version": "0.20.3", }, + "display": {}, "id": "root", "path": "root", }, @@ -686,6 +729,7 @@ exports[`tree.json for an app with many resources 1`] = ` "fqn": "cdktf.App", "version": "0.20.3", }, + "display": {}, "id": "App", "path": "", },