You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run terraform plan I see the following error:
$ terraform-0.12.3 plan
provider.aws.region
The region where AWS operations will take place. Examples
are us-east-1, us-west-2, etc.
Enter a value: us-west-2
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
module.usw2.module.eks.module.coresvcs_eks.module.terraform_aws_eks.data.aws_region.current: Refreshing state...
module.usw2.module.eks.module.coresvcs_eks.module.terraform_aws_eks.data.aws_caller_identity.current: Refreshing state...
module.usw2.module.eks.module.coresvcs_eks.module.terraform_aws_eks.data.aws_ami.eks_worker: Refreshing state...
module.usw2.module.eks.module.coresvcs_eks.module.terraform_aws_eks.data.aws_iam_policy_document.cluster_assume_role_policy: Refreshing state...
module.usw2.module.eks.module.coresvcs_eks.module.terraform_aws_eks.data.aws_iam_policy_document.workers_assume_role_policy: Refreshing state...
------------------------------------------------------------------------
Error: Incorrect attribute value type
on .terraform/modules/usw2.eks.coresvcs_eks.terraform_aws_eks/workers.tf line 37, in resource "aws_autoscaling_group" "workers":
37: vpc_zone_identifier = lookup(
Inappropriate value for attribute "vpc_zone_identifier": set of string
required.
If this is a bug, how to reproduce? Please include a code sample if relevant.
Create an instance of the terraform-aws-eks module v5.0.0 as shown above and run terraform plan on it.
What's the expected behavior?
Successful creation of the EKS cluster
Are you able to fix this problem and submit a PR? Link here if you have already.
No. Please advise.
Environment details
Affected module version: v5.0.0
OS: macOS (Mojave)
Terraform version: 0.12.3
Any other relevant info
The text was updated successfully, but these errors were encountered:
mojochao
changed the title
Incorrect attribute value type when using terraform 0.12 and terraform-aws-eks v5.0.0
Incorrect attribute value type error when using terraform 0.12 and terraform-aws-eks v5.0.0
Jun 25, 2019
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.
I have issues
I am trying to upgrade to use of terraform 0.12.x with terraform-aws-eks module v5.0.0, and am experiencing an error.
I'm submitting a...
What is the current behavior?
After updating terraform to latest 0.12.3 version, changed my use of the module to v5.0.0 of the terraform-aws-eks module as follows:
When I run
terraform plan
I see the following error:If this is a bug, how to reproduce? Please include a code sample if relevant.
Create an instance of the terraform-aws-eks module v5.0.0 as shown above and run
terraform plan
on it.What's the expected behavior?
Successful creation of the EKS cluster
Are you able to fix this problem and submit a PR? Link here if you have already.
No. Please advise.
Environment details
Any other relevant info
The text was updated successfully, but these errors were encountered: