-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Error: "features": required field is not set #24200
Comments
I am also having this issue this morning edit: Looks like there is chatter about this on the terraform provider repo hashicorp/terraform-provider-azurerm#5866 |
This issue has been automatically migrated to hashicorp/terraform-provider-azurerm#5893 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to hashicorp/terraform-provider-azurerm#5893. |
This issue has been automatically migrated to hashicorp/terraform-provider-azurerm#5894 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to hashicorp/terraform-provider-azurerm#5894. |
I am also having this issue this morning, any solution for the above issue. |
There is an issue with 2.0.0 azurem version, for temporary fix try to use the 1.44.0. |
Should work like this: provider "azurerm" { |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Terraform v0.12.21
Terraform Configuration Files
unknown due to terse error output ...
Debug Output
Expected Behavior
A useful error indicating file and line the error is to be searched at.
Actual Behavior
Steps to Reproduce
$ terraform init -upgrade && terraform plan -target=module.base
Upgrading modules...
Initializing the backend...
Initializing provider plugins...
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
Error: "features": required field is not set
Additional Context
The -target above is not part of the issue, it fails w/o -target and with any other targeted resource.
Also "features" is not referenced anywhere (but the Azure provider) - so perhaps it's a provider bug?
$ grep -r features .
Binary file ./.terraform/plugins/linux_amd64/terraform-provider-azurerm_v2.0.0_x5 matches
The text was updated successfully, but these errors were encountered: