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

Deprecation error message after provider upgrade from 0.66.2 to 0.85.0 #2476

Closed
toni-moreno opened this issue Feb 8, 2024 · 2 comments
Closed
Labels
general-usage General help/usage questions

Comments

@toni-moreno
Copy link

toni-moreno commented Feb 8, 2024

Terraform CLI and Provider Versions

cli 1.5.0
provider 0.85.0

Terraform Configuration

terraform {
  required_providers {
    snowflake = {
      source  = "Snowflake-Labs/snowflake"
      version = "0.85.0"
    }
    snowsql = {
      source  = "aidanmelen/snowsql"
      version = ">= 0.1.0"
    }
  }
}

provider "snowflake" {
  alias = "UA"
  role  = "USERADMIN"
}

provider "snowflake" {
  alias = "SECA"
  role  = "SECURITYADMIN"
}

provider "snowflake" {
  alias = "SA"
  role  = "SYSADMIN"
}

provider "snowflake" {
  alias = "AAD"
  role  = "AAD_PROVISIONER"
}


and environment var.

```bash
SNOWFLAKE_USER=MYADMIN_USER
SNOWFLAKE_PASSWORD=MY_PASSWORD
SNOWFLAKE_REGION=<some_azure_region>
SNOWFLAKE_ACCOUNT=xx0000

Expected Behavior

Everything ok after provider upgrate.

Actual Behavior

this deprecation warning appeared.

I can't find any related documentation about this deprecation on the provider site doc and none in the CHANGELOG.md file.

╷
│ Warning: Argument is deprecated
│ 
│   with provider["registry.terraform.io/snowflake-labs/snowflake"].SA,
│   on 000_main.tf line 24, in provider "snowflake":
│   24: provider "snowflake" {
│ 
│ Specify the region as part of the account parameter
│ 
│ (and 4 more similar warnings elsewhere)
╵

Steps to Reproduce

  1. terraform apply

How much impact is this issue causing?

Low

Logs

No response

Additional Information

No response

@toni-moreno toni-moreno added the bug Used to mark issues with provider's incorrect behavior label Feb 8, 2024
@sfc-gh-asawicki sfc-gh-asawicki added general-usage General help/usage questions and removed bug Used to mark issues with provider's incorrect behavior labels Feb 8, 2024
@sfc-gh-asawicki
Copy link
Collaborator

Hey @toni-moreno. Thanks for reaching out to us.

There are migration notes inside the repository. The one you linked is described here: https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/MIGRATION_GUIDE.md#remove-redundant-information-region.

I will make sure to note down to add the link to the migration notes in the official docs you have linked.

@toni-moreno
Copy link
Author

Ok, thank you !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
general-usage General help/usage questions
Projects
None yet
Development

No branches or pull requests

2 participants