Skip to content

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
Collaborator

@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
burythehammer pushed a commit that referenced this pull request Nov 10, 2025
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.

Co-authored-by: Trent Rosenbaum <trent.rosenbaum@opencredo.com>
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