Skip to content
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

Try to provision IBM-IS-NG example , face: Error: Incorrect attribute value type #1436

Closed
DanielChuDC opened this issue May 12, 2020 · 2 comments

Comments

@DanielChuDC
Copy link

DanielChuDC commented May 12, 2020

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
Terraform v0.12.24

  • provider.ibm v1.5.2

Error message

Error: Incorrect attribute value type

on main.tf line 23, in resource "ibm_is_lb" "lb2":
23: subnets = ibm_is_subnet.subnet1.id

Inappropriate value for attribute "subnets": set of string required.

@DanielChuDC DanielChuDC changed the title Try to provision IBM-IS-NG example , face: Error: Incorrect attribute value type on main.tf line 23, in resource "ibm_is_lb" "lb2": 23: subnets = ibm_is_subnet.subnet1.id Inappropriate value for attribute "subnets": set of string required. Try to provision IBM-IS-NG example , face: Error: Incorrect attribute value type May 12, 2020
@DanielChuDC
Copy link
Author

It seem like same issue from
terraform-aws-modules/terraform-aws-vpc#271

@hkantare
Copy link
Collaborator

The issue here is with example syntax ...The subnets is the the list for loadbalancer

subnets = [ibm_is_subnet.subnet1.id]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants