terraform-provider-bigip
terraform-provider-bigip copied to clipboard
`description` attribute in bigip_ltm_virtual_address in docs, but not in code
The description
field in the docs returns An argument named "description" is not expected here.
when used in terraform 0.12.19.
https://github.com/terraform-providers/terraform-provider-bigip/blame/master/website/docs/r/bigip_ltm_virtual_address.html.markdown#L31
Which version of the provider are you using? I just tested with most recent version and am not receiving that:
- provider.bigip v1.2.1
I just verified the issue with v1.2.1. My setup looks like this:
bash-5.0# terraform --version
Terraform v0.12.21
+ provider.aws v2.52.0
+ provider.bigip v1.2.1
+ provider.dns v2.2.0
and the output from running terraform/terragrunt
bash-5.0# terraform init
Initializing modules...
- internal in ../../../services/discovery_f5
- internal.pool in ../../../resources/f5/pool
- internal.va in ../../../resources/f5/virtual_address
- internal.va.vips in ../../../locations/vips
- internal.vip in ../../../resources/f5/virtual_server
Initializing the backend...
Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing provider plugins...
- Checking for available provider plugins...
- Downloading plugin for provider "aws" (hashicorp/aws) 2.52.0...
- Downloading plugin for provider "dns" (hashicorp/dns) 2.2.0...
- Downloading plugin for provider "bigip" (terraform-providers/bigip) 1.2.1...
Terraform has been successfully initialized!
bash-5.0# terragrunt plan
[terragrunt] 2020/08/05 22:25:37 Reading Terragrunt config file at /app/locations/internal/terragrunt.hcl
[terragrunt] [/app/locations/internal] 2020/08/05 22:25:37 Running command: terraform --version
[terragrunt] 2020/08/05 22:25:37 The file path /app/locations/internal/terragrunt_provider.tf already exists, but was a previously generated file by terragrunt. Since if_exists for code generation is set to "overwrite_terragrunt", regenerating file.
[terragrunt] 2020/08/05 22:25:37 Generated file /app/locations/internal/terragrunt_provider.tf.
[terragrunt] 2020/08/05 22:25:37 The file path /app/locations/internal/terragrunt_backend.tf already exists, but was a previously generated file by terragrunt. Since if_exists for code generation is set to "overwrite_terragrunt", regenerating file.
[terragrunt] 2020/08/05 22:25:37 Generated file /app/locations/internal/terragrunt_backend.tf.
[terragrunt] 2020/08/05 22:25:37 Running command: terraform plan -var-file=/credentials/internal.tfvars
Error: Unsupported argument
on main.tf line 11, in resource "bigip_ltm_virtual_address" "test-description":
11: description = "a test"
An argument named "description" is not expected here.
[terragrunt] 2020/08/05 22:25:41 Hit multiple errors:
exit status 1
My main.tf has this in it for that line 11 resource:
resource "bigip_ltm_virtual_address" "test-description" {
name = "/Common/test"
description = "a test"
}
Thanks for looking into this! It would be super helpful to have the description field to help with metadata in my org <3