diff --git a/packages/cdktf-cli/bin/cmds/ui/terraform-context.tsx b/packages/cdktf-cli/bin/cmds/ui/terraform-context.tsx index 9dbcbc400c..da919ff7d8 100644 --- a/packages/cdktf-cli/bin/cmds/ui/terraform-context.tsx +++ b/packages/cdktf-cli/bin/cmds/ui/terraform-context.tsx @@ -34,9 +34,10 @@ const parseOutput = (str: string): DeployingResource[] => { const resources = lines.map(line => { if (/^Outputs:/.test(line)) { return } + if (/^Plan:/.test(line)) { return } if (/^data\..*/.test(line)) { return } - const resourceMatch = line.match(/^([a-zA-Z_][a-zA-Z\d_-]+\.[a-zA-Z\d_-]+):/) + const resourceMatch = line.match(/^([a-zA-Z_][a-zA-Z\d_\-.]*):/) let applyState: DeployingResourceApplyState; switch (true) {