Oleksandr Levchenkov

Results 20 issues of Oleksandr Levchenkov

Resolves #1371 This PR makes `tofu plan` with `generate-config-out` flag check for JSON strings and, if possible, replace them with `jsonencode` function call. ## Target Release 1.8.0

Resolves https://github.com/opentofu/opentofu/issues/1204 This PR adds initial implementation for `override_resource`, `override_data` and `override_module` blocks for testing framework. ## Implementation details Overriding data and managed resources is implemented by avoiding calls to...

### OpenTofu Version ```shell OpenTofu v1.7.0 on darwin_arm64 + provider registry.opentofu.org/hashicorp/aws v5.47.0 ``` ### OpenTofu Configuration Files ```hcl import { to =aws_iam_group_policy.example id ="test:terraform-20240501141752209400000001" } ``` ### Debug Output none...

bug
needs-community-input
pending-decision

Hey there! **Describe the bug** Running `go get github.com/openbao/openbao/api` results in the following error: > go: github.com/openbao/openbao/api@upgrade (v1.11.0) requires github.com/openbao/openbao/[email protected]: parsing go.mod: > module declares its path as: github.com/hashicorp/vault/api >...

bug

This PR lowers golangci-lint requirements for code: * increases complexity limit (cyclop linter) * removes issues reported by some linters for `_test.go` files See rule violation examples in https://github.com/opentofu/opentofu/pull/1499

### Description There is a copy button on code snippets, which should insert the snippet's content into the user's clipboard. It doesn't work properly in Safari (inserts a few spaces)....

bug
good first issue
accepted

Part of #300 This PR is not meant to be merged to main directly. There is also lots of TODOs left. Main purpose of the PR is to allow using...

### OpenTofu Version ```shell OpenTofu v1.9.0-dev on darwin_arm64 + provider registry.opentofu.org/hashicorp/aws v5.59.0 + provider registry.opentofu.org/hashicorp/null v3.2.2 ``` ### OpenTofu Configuration Files ```hcl terraform { backend "s3" { region = ""...

bug
good first issue
help wanted
accepted

### OpenTofu Version ```shell OpenTofu v1.7.0-dev on darwin_arm64 ``` ### Use Cases In some cases, users want an option to set variable's default value to the value of some other...

enhancement
needs-community-input
pending-decision

### OpenTofu Version ```shell n/a ``` ### Use Cases Currently, there is no way to share the same `mock_provider` configuration between multiple test files. ### Attempted Solutions You can duplicate...

enhancement
needs-community-input
pending-decision