Skip to content

Commit

Permalink
Merge pull request #739 from hashicorp/fix-738
Browse files Browse the repository at this point in the history
fix(cli): Workaround Terraform 0.15.4 output changes
  • Loading branch information
skorfmann authored May 27, 2021
2 parents 68ad515 + a06bdb0 commit 34cad1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cdktf-cli/bin/cmds/ui/terraform-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 34cad1a

Please sign in to comment.