cloudstack-terraform-provider icon indicating copy to clipboard operation
cloudstack-terraform-provider copied to clipboard

supply projectid to API read calls for firewall and egress_firewall

Open Longsight opened this issue 8 months ago • 1 comments

fixes #115

Longsight avatar Mar 27 '25 11:03 Longsight

Hey. I applied your changes and tried to create a few instances with a firewall rules and a project ID, but I got the same error as before.

There are errors:

module.test.cloudstack_port_forward.port_forward[1]: Creation complete after 12s [id=332912f6-e272-4130-a851-c7b7b822d813]
module.test.cloudstack_port_forward.port_forward[0]: Creation complete after 20s [id=332912f6-e272-4130-a851-c7b7b822d813]
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.test.cloudstack_firewall.firewall_open_ports[1], provider "provider[\"registry.terraform.io/cloudstack/cloudstack\"]" produced an unexpected new value: Root object was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.test.cloudstack_firewall.firewall_open_ports[0], provider "provider[\"registry.terraform.io/cloudstack/cloudstack\"]" produced an unexpected new value: Root object was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.test.cloudstack_egress_firewall.egress, provider "provider[\"registry.terraform.io/cloudstack/cloudstack\"]" produced an unexpected new value: Root object was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

baltazorbest avatar Apr 18 '25 13:04 baltazorbest

@Longsight, could you please resolve the conflict

kiranchavala avatar Sep 01 '25 06:09 kiranchavala

Already resolved by https://github.com/apache/cloudstack-terraform-provider/pull/198. Closing this PR.

vishesh92 avatar Sep 02 '25 07:09 vishesh92