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

Wrong syntax in example. #153

Merged
merged 2 commits into from
Nov 9, 2021
Merged

Wrong syntax in example. #153

merged 2 commits into from
Nov 9, 2021

Conversation

darron
Copy link
Contributor

@darron darron commented Nov 5, 2021

That results in this error:

Warning: Quoted references are deprecated

  on redis.tf line 47, in resource "rediscloud_subscription_peering" "dapper-eth-staging-us-west1":
  47:   provider         = "gcp"

In this context, references are expected literally rather than in quotes.
Terraform 0.11 and earlier required quotes, but quoted references are now
deprecated and will be removed in a future version of Terraform. Remove the
quotes surrounding this reference to silence this warning.


Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider hashicorp/gcp:
provider registry registry.terraform.io does not have a provider named
registry.terraform.io/hashicorp/gcp

This fixes it.

That results in this error:

```bash
Warning: Quoted references are deprecated

  on redis.tf line 47, in resource "rediscloud_subscription_peering" "dapper-eth-staging-us-west1":
  47:   provider         = "gcp"

In this context, references are expected literally rather than in quotes.
Terraform 0.11 and earlier required quotes, but quoted references are now
deprecated and will be removed in a future version of Terraform. Remove the
quotes surrounding this reference to silence this warning.


Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider hashicorp/gcp:
provider registry registry.terraform.io does not have a provider named
registry.terraform.io/hashicorp/gcp
```

This fixes it.
@CLAassistant
Copy link

CLAassistant commented Nov 5, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@trentrosenbaum trentrosenbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for catching this one and will update with the next release.

@trentrosenbaum trentrosenbaum merged commit 9ec6c90 into RedisLabs:main Nov 9, 2021
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

Successfully merging this pull request may close these issues.

3 participants