bizflycloud/terraform-provider-bizflycloud

resource bizflycloud_firewall create failed

Closed this issue · 1 comments

terraform script

resource "bizflycloud_firewall" "sample_firewall_1" {
    name = "sample-firewall-1"
}

output

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # bizflycloud_firewall.sample_firewall_1 will be created
  + resource "bizflycloud_firewall" "sample_firewall_1" {
      + egress                  = (known after apply)
      + id                      = (known after apply)
      + ingress                 = (known after apply)
      + name                    = "sample-firewall-1"
      + network_interface_count = (known after apply)
      + network_interfaces      = (known after apply)
      + rules_count             = (known after apply)
      + servers_count           = (known after apply)
      + target_server_ids       = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

bizflycloud_firewall.sample_firewall_1: Creating...
bizflycloud_firewall.sample_firewall_1: Still creating... [10s elapsed]
╷
│ Error: Error when creating firewall: {
│   "code": "UNKNOWN", 
│   "message": "Internal Server Error", 
│   "request_id": "req-5ae7b09d-b71d-49e4-a040-a4bdf575000e", 
│   "trace_id": "ded16f0e8a5c7b162a3a07121314b7c3", 
│   "transaction_id": "0504e3722d618c45"
│ }
│ : Error
│ 
│   with bizflycloud_firewall.sample_firewall_1,
│   on main.tf line 22, in resource "bizflycloud_firewall" "sample_firewall_1":
│   22: resource "bizflycloud_firewall" "sample_firewall_1" {
│ 
╵

Apologies for the late response.

The problem already fixed. Thanks for reporting!