F5Networks / terraform-aws-bigip-module

Terraform module for Deploying BIG-IP in AWS
Apache License 2.0
10 stars 21 forks source link

Error on first time that i run the terraform apply #45

Closed rodrigosandrin closed 1 year ago

rodrigosandrin commented 1 year ago

When i run the terraform apply i got an error in the first time, after run again the terraform apply normally:

module.ec2-eu-central-1.module.bigip.random_id.module_id: Creating...
module.ec2-eu-central-1.module.bigip.random_string.dynamic_password: Creating...
module.ec2-eu-central-1.module.bigip.random_id.module_id: Creation complete after 0s [id=rVg]
module.ec2-eu-central-1.module.bigip.random_string.dynamic_password: Creation complete after 0s [id=qANdjFzATovN2kvN]
module.ec2-eu-central-1.aws_key_pair.key: Creating...
module.ec2-eu-central-1.aws_security_group.allow_all: Creating...
module.ec2-eu-central-1.aws_key_pair.key: Creation complete after 1s [id=terraform-key]
module.ec2-eu-central-1.aws_security_group.allow_all: Creation complete after 5s [id=sg-0d40770aa34dd9b6f]
╷
│ Error: Provider produced inconsistent final plan
│ 
│ When expanding the plan for module.ec2-eu-central-1.module.bigip.aws_network_interface.private1[0] to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/aws" produced an
│ invalid new value for .tags_all: new element "Name" has appeared.
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent final plan
│ 
│ When expanding the plan for module.ec2-eu-central-1.module.bigip.aws_network_interface.private1[0] to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/aws" produced an
│ invalid new value for .tags_all: new element "Prefix" has appeared.
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent final plan
│ 
│ When expanding the plan for module.ec2-eu-central-1.module.bigip.aws_network_interface.mgmt1[0] to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/aws" produced an
│ invalid new value for .tags_all: new element "Name" has appeared.
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent final plan
│ 
│ When expanding the plan for module.ec2-eu-central-1.module.bigip.aws_network_interface.mgmt1[0] to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/aws" produced an
│ invalid new value for .tags_all: new element "Prefix" has appeared.
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent final plan
│ 
│ When expanding the plan for module.ec2-eu-central-1.module.bigip.aws_network_interface.public1[0] to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/aws" produced an
│ invalid new value for .tags_all: new element "Name" has appeared.
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent final plan
│ 
│ When expanding the plan for module.ec2-eu-central-1.module.bigip.aws_network_interface.public1[0] to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/aws" produced an
│ invalid new value for .tags_all: new element "Prefix" has appeared.
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
Releasing state lock. This may take a few moments...

Config used:


module "bigip" {
  source                     = "F5Networks/bigip-module/aws"
  version                    = "v1.1.11"
  prefix                     = "bigip-aws-3nic"
  f5_ami_search_name         = "F5*BIGIP-15.1.5.1-0.0.14*BYOL-All*Modules*2Boot*"
  ec2_key_name               = aws_key_pair.key.key_name
  mgmt_subnet_ids            = [{ "subnet_id" = "${var.subnet_mgnt}", "public_ip" = false, "private_ip_primary" = "" }]
  mgmt_securitygroup_ids     = [aws_security_group.allow_all.id]
  internal_subnet_ids         = [{ "subnet_id" = "${var.subnet_mgnt}", "public_ip" = false, "private_ip_primary" = ""}]
  internal_securitygroup_ids  = [aws_security_group.allow_all.id]
  external_subnet_ids        = [{ "subnet_id" = "${var.subnet_external}", "public_ip" = true, "private_ip_primary" = "", "private_ip_secondary" = "" }]
  external_securitygroup_ids = [aws_security_group.allow_all.id]

}
RavinderReddyF5 commented 1 year ago

HI @rodrigosandrin is this reproducible ?

RavinderReddyF5 commented 1 year ago

Hi @rodrigosandrin closing this issue. please open new issue if still seen any issue