terraform-provider-google icon indicating copy to clipboard operation
terraform-provider-google copied to clipboard

Unable to make provider change with magic-module

Open hassannmoussaa opened this issue 9 months ago • 1 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Terraform Version & Provider Version(s)

Terraform vX.X.X on

  • provider registry.terraform.io/hashicorp/google vX.X.X
  • provider registry.terraform.io/hashicorp/google-beta vX.X.X

Affected Resource(s)

make provider VERSION=ga OUTPUT_PATH="$GOPATH/src/github.com/hashicorp/terraform-provider-google" PRODUCT=compute

Terraform Configuration

Command i run : make provider VERSION=ga OUTPUT_PATH="$GOPATH/src/github.com/hashicorp/terraform-provider-google" PRODUCT=compute

Debug Output

bundler: failed to load command: compiler.rb (compiler.rb) /root/.rbenv/versions/3.1.0/lib/ruby/3.1.0/psych.rb:455:in parse': (<unknown>): did not find expected '-' indicator while parsing a block collection at line 504 column 7 (Psych::SyntaxError) from /root/.rbenv/versions/3.1.0/lib/ruby/3.1.0/psych.rb:455:in parse_stream' from /root/.rbenv/versions/3.1.0/lib/ruby/3.1.0/psych.rb:399:in parse' from /root/.rbenv/versions/3.1.0/lib/ruby/3.1.0/psych.rb:324:in safe_load' from /home/magic-modules/mmv1/google/yaml_validator.rb:25:in parse' from /home/magic-modules/mmv1/api/compiler.rb:28:in run' from compiler.rb:189:in block (2 levels) in <top (required)>' from compiler.rb:178:in each' from compiler.rb:178:in block in <top (required)>' from /root/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/parallel-1.22.1/lib/parallel.rb:587:in call_with_index'

Expected Behavior

working fine

Actual Behavior

No response

Steps to reproduce

  1. terraform apply

Important Factoids

No response

References

No response

hassannmoussaa avatar May 08 '24 14:05 hassannmoussaa

Hi -- just to make sure your environment for MMV1 development is totally clean could you do the following:

  1. rebase your current local mmv1 branch on main
  2. checkout a clean version of the terraform-provider-google head

If running the command again fails, could you share your output of running the following 2 commands in your cli? ruby -v rbenv versions

NickElliot avatar May 08 '24 22:05 NickElliot