diff --git a/packages/@cdktf/hcl2cdk/test/helpers/convert.ts b/packages/@cdktf/hcl2cdk/test/helpers/convert.ts index 592ce7a1e5..36ceeee7d6 100644 --- a/packages/@cdktf/hcl2cdk/test/helpers/convert.ts +++ b/packages/@cdktf/hcl2cdk/test/helpers/convert.ts @@ -27,6 +27,7 @@ export enum Synth { yes, no_cant_resolve_construct, no_missing_map_access, // See https://github.com/hashicorp/terraform-cdk/issues/2670 + no_missing_type_coercion, // We don't type coerce numbers yet never, // Some examples are built so that they will never synth but test a specific generation edge case } diff --git a/packages/@cdktf/hcl2cdk/test/resources.test.ts b/packages/@cdktf/hcl2cdk/test/resources.test.ts index c2f2c985b1..2626eb4b57 100644 --- a/packages/@cdktf/hcl2cdk/test/resources.test.ts +++ b/packages/@cdktf/hcl2cdk/test/resources.test.ts @@ -510,7 +510,7 @@ resource "kubernetes_secret" "secrets-xxx" { } `, [binding.aws], - Synth.yes, + Synth.no_missing_type_coercion, { resources: ["aws_ecs_task_definition"], }