Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Prodesire committed Jul 17, 2024
1 parent 1e76653 commit c1a2e79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ To get Terraform verison:
>>> TerraformCommand().version()
<CommandResult retcode=0 json=True>
>>> _.value
{'terraform_version': '1.6.6', 'platform': 'darwin_arm64', 'provider_selections': {}, 'terraform_outdated': True}
{'terraform_version': '1.8.4', 'platform': 'darwin_arm64', 'provider_selections': {}, 'terraform_outdated': True}
>>> TerraformCommand().version(json=False)
<CommandResult retcode=0 json=False>
>>> _.value
'Terraform v1.6.6\non darwin_arm64\n'
'Terraform v1.8.4\non darwin_arm64\n'
```

To `init` and `apply` according to Terraform configuration files in the specified directory:
Expand All @@ -62,7 +62,7 @@ Additionally, `run()` can execute arbitrary commands, returning a tuple `(retcod

```python
>>> TerraformCommand.run('version')
(0, 'Terraform v1.6.6\non darwin_arm64\n', '')
(0, 'Terraform v1.8.4\non darwin_arm64\n', '')
>>> TerraformCommand.run('invalid')
(1, '', 'Terraform has no command named "invalid".\n\nTo see all of Terraform\'s top-level commands, run:\n terraform -help\n\n')
```
Expand Down

0 comments on commit c1a2e79

Please sign in to comment.