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

metadata_value_by_key on google_compute_instance returns error #257

Closed
mattbowes opened this issue May 7, 2020 · 1 comment
Closed

metadata_value_by_key on google_compute_instance returns error #257

mattbowes opened this issue May 7, 2020 · 1 comment

Comments

@mattbowes
Copy link
Contributor

Using profile 1.4.0 and calling metadata_value_by_key on google_compute_instance the following error is returned

undefined method `item' for #<Hash:0x00007f05967f0e70>

Describe the problem

describe google_compute_instance(project: gcp_project_id, zone: gce_zones, name: vm).metadata_value_by_key('serial-port-enable') do
    it { should be false }
  end

returns

undefined method `item' for #<Hash:0x00007f05967f0e70>

Possible Solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants