Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): Adapt to changed output format in Terraform 0.15.4 #736

Merged
merged 1 commit into from
May 27, 2021

Conversation

skorfmann
Copy link
Contributor

Plan: was matched by accident. This changes the regex to require
something like abc.foo to match.

Terraform 0.15.4

null_resource.test: Refreshing state... [id=2265159398281528182]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # null_resource.test will be destroyed
  - resource "null_resource" "test" {
      - id = "2265159398281528182" -> null
    }

Plan: 0 to add, 0 to change, 1 to destroy.
null_resource.test: Destroying... [id=2265159398281528182]
null_resource.test: Destruction complete after 0s

Destroy complete! Resources: 1 destroyed.

Terraform 0.15.0

null_resource.test: Refreshing state... [id=1540203300502369612]
null_resource.test: Destroying... [id=1540203300502369612]
null_resource.test: Destruction complete after 0s

Destroy complete! Resources: 1 destroyed.

`Plan:` was matched by accident. This changes the regex to require
something like `abc.foo` to match.

Terraform 0.15.4

```
null_resource.test: Refreshing state... [id=2265159398281528182]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # null_resource.test will be destroyed
  - resource "null_resource" "test" {
      - id = "2265159398281528182" -> null
    }

Plan: 0 to add, 0 to change, 1 to destroy.
null_resource.test: Destroying... [id=2265159398281528182]
null_resource.test: Destruction complete after 0s

Destroy complete! Resources: 1 destroyed.
```

Terraform 0.15.0

```
null_resource.test: Refreshing state... [id=1540203300502369612]
null_resource.test: Destroying... [id=1540203300502369612]
null_resource.test: Destruction complete after 0s

Destroy complete! Resources: 1 destroyed.
```
@ansgarm ansgarm merged commit ebb6ffa into main May 27, 2021
@ansgarm ansgarm deleted the fix-adapt-to-changed-tf-output branch May 27, 2021 10:27
@github-actions
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants