Comments (8)
As of this writing, there is no publicly available OpenTF implementation, so I cannot say for sure. Still, tfschema doesn't depend on the Terraform CLI at runtime; it depends on the provider's cache and protocol. Thus, it can be expected to work as long as these are compatible.
from tfschema.
Thank you for answering.
From a technical perspective, I expect that it will be a no-op for the time being as OpenTF anticipates maintaining compat/interop for the foreseeable future. (However, OpenTF has stated that some functionality may be added to OpenTF that is a superset of what's in base Terraform. [source])
From a process perspective:
-
If there is a bug in OpenTF that does not exist in Terraform (or vice-versa), will bug reports (as they pertain to this project) be treated equally on both platforms?
-
Will testing be performed with code targeting both platforms?
-
For OpenTF's potential future "superset" functionality, will that be treated as a first-class citizen?
from tfschema.
First, this project is one of my hobby projects, and I'm not a competitor of HashiCorp or OpenTF. As a maintainer of this project, my stance is neutral, but as you know, maintaining compatibility for forks is not for free.
For now, I feel it's too early to discuss potential something. Please wait until someone finds actual compatible issues, then start talking about them.
from tfschema.
FYI: While not fully tested yet, tasting tofu alpha2 looks like tfschema works as is.
[tofu@opentofu|✔]$ cat main.tf
provider "aws" {}
[tofu@opentofu|✔]$ tofu --version
OpenTofu v1.6.0-alpha2
on darwin_arm64
[tofu@opentofu|✔]$ tofu init
(snip.)
[tofu@opentofu|✔]$ go run ../../main.go resource show aws_iam_user
+----------------------+-------------+----------+----------+----------+-----------+
| ATTRIBUTE | TYPE | REQUIRED | OPTIONAL | COMPUTED | SENSITIVE |
+----------------------+-------------+----------+----------+----------+-----------+
| arn | string | false | false | true | false |
| force_destroy | bool | false | true | false | false |
| id | string | false | true | true | false |
| name | string | true | false | false | false |
| path | string | false | true | false | false |
| permissions_boundary | string | false | true | false | false |
| tags | map(string) | false | true | false | false |
| tags_all | map(string) | false | true | true | false |
| unique_id | string | false | false | true | false |
+----------------------+-------------+----------+----------+----------+-----------+
from tfschema.
I've added the OpenTofu alpha release to the test matrix in #52.
This issue will remain open until a stable version is released.
from tfschema.
Closed by #55
I've cut a new release, tfschema v0.7.8, which includes the official OpenTofu support.
I also updated the description to clarify it.
from tfschema.
btw. you can also integrate tenv that support Terraform as well as OpenTofu (and Terragrunt :) ) in one tool. It allow you to simplify version management.
from tfschema.
btw. you can also integrate tenv that support Terraform as well as OpenTofu (and Terragrunt :) ) in one tool. It allow you to simplify version management.
What does this have to do with tfschema?
from tfschema.
Related Issues (13)
- Could not execute `tfschema resource list aws` HOT 2
- Predictable json schema HOT 9
- Add RST formatter HOT 2
- Nested blocks are broken with terraform-provider-aws v2.7.0 HOT 2
- Type.Name() should use HCL2 typeexpr.TypeString
- Failed to find plugin with Terraform v0.13.0-beta1 HOT 1
- Failed to find plugin with Terraform v0.14.0-beta2 HOT 1
- Drop hashicorp/terraform dependency HOT 1
- Show if arguments require a new resource i.e. `ForceNew: true` HOT 1
- 'tfschema resource browse <resource>' is generating broken links HOT 1
- Can we get a Linux arm64 build? HOT 2
- Dynamic library issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfschema.