Difference between revisions of "Constraints"
Jump to navigation
Jump to search
(Created page with " ╷ │ Warning: Version constraints inside provider configuration blocks are deprecated │ │ on provider.tf line 2, in provider "aws": │ 2: version = "~> 3.3...") |
|||
Line 2: | Line 2: | ||
│ Warning: Version constraints inside provider configuration blocks are deprecated | │ Warning: Version constraints inside provider configuration blocks are deprecated | ||
│ | │ | ||
− | │ on provider.tf line 2, in provider "aws": | + | │ on [[provider.tf]]] line 2, in provider "aws": |
│ 2: version = "~> 3.38.0" | │ 2: version = "~> 3.38.0" | ||
│ | │ | ||
− | │ Terraform 0.13 and earlier allowed provider version constraints inside the provider configuration block, but that is | + | │ [[Terraform 0.13]] and earlier allowed provider version constraints inside the provider configuration block, but that is |
│ now deprecated and will be removed in a future version of Terraform. To silence this warning, move the provider | │ now deprecated and will be removed in a future version of Terraform. To silence this warning, move the provider | ||
│ version constraint into the required_providers block. | │ version constraint into the required_providers block. |
Revision as of 07:50, 20 September 2021
╷ │ Warning: Version constraints inside provider configuration blocks are deprecated │ │ on provider.tf] line 2, in provider "aws": │ 2: version = "~> 3.38.0" │ │ Terraform 0.13 and earlier allowed provider version constraints inside the provider configuration block, but that is │ now deprecated and will be removed in a future version of Terraform. To silence this warning, move the provider │ version constraint into the required_providers block. │ │ (and one more similar warning elsewhere) ╵
terraform init
[-upgrade | -reconfigure | -backend-config | -get-plugins=false | -verify-plugins=false ]
,--help
, Execution examples, Execution with errors,~/.terraformrc, required_providers
- Terraform, OpenTofu, Terrakube.org, Installation, Terraform AWS, Terraform GCP, Terraform commands, Terraform Cloud, Terraform Enterprise (TFE), HCL, HIL, meta-arguments, providers, modules, resource, provisioners, data sources, backends: remote backends, examples, configuration files, state files, variables, types, Terraform Registry, conditionals:
depends_on
, functions, Blocks, dynamic blocks, errors, Terragrunt, Terraformer, Terratest, Terraform certifications, Terraform map type, Terraform Associate, Terraform: list type,TF_VAR_, TF_LOG
, Terraform provider versioning, Terraform Style Conventions, Required version, Terraform plugin, Terraform Named Values, tags, Changelog,tfsec, tflint
, Operators, Expressions:for, splat
, Debugging, Namespaces, Terraform Landing Zones, CDKTF, Atmos
Advertising: