pulumi / pulumi-linode

Linode resource provider for Pulumi
Apache License 2.0
27 stars 7 forks source link

Cannot create NodeBalancer resource #366

Open tienhuynh5312 opened 12 months ago

tienhuynh5312 commented 12 months ago

What happened?

When create a nodebalancer resource, pulumi returns error linode:index:NodeBalancer (control-node-balancer): error: Cannot bridge Terraform resource "linode_nodebalancer" to Pulumi: the "id" attribute has type tftypes.Number but only tftypes.String is supported

Example

control_node_balancer = linode.NodeBalancer("control-node-balancer",
    client_conn_throttle=20,
    label="lb-control-node",
    region=config.get("region"),
    tags=["control-nodes","load-balancer"])

Output of pulumi about

CLI
Version      3.86.0
Go Version   go1.21.1
Go Compiler  gc

Plugins
NAME    VERSION
aws     6.2.1
linode  4.6.1
python  unknown

Host
OS       Microsoft Windows 11 Pro
Version  10.0.22621 Build 22621
Arch     x86_64

This project is written in python: executable='C:\Users\<redacted>\Documents\Infrastructure\Linode\kubernetes-cluster\venv\Scripts\python.exe' version='3.11.5'

Current Stack: organization/kubernetes-cluster/dev

Found no resources associated with dev

Found no pending operations associated with dev

Backend
Name          <redacted>
URL            file://~
User           <redacted>
Organizations
Token type     personal

Dependencies:
NAME           VERSION
pip            23.2.1
pulumi-aws     6.2.1
pulumi-linode  4.6.1
setuptools     68.2.2
wheel          0.41.2

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

mikhailshilkov commented 11 months ago

@tienhuynh5312 Thank you for reporting this, that's definitely a bug, we'll work on a fix next week.