Giter Club home page Giter Club logo

Comments (5)

publicarray avatar publicarray commented on August 15, 2024 1

using -parallelism=1 works as a work around.

from terraform-provider-vultr.

squat avatar squat commented on August 15, 2024

Thanks a lot for reporting this! Can you share an example .tf file you used to reproduce this error? I'd like to test it. We should also eventually have an integration test that tests for this rate limit error.

from terraform-provider-vultr.

squat avatar squat commented on August 15, 2024

Closing thanks to #17

from terraform-provider-vultr.

publicarray avatar publicarray commented on August 15, 2024

Hi, I just received the same error

* vultr_firewall_rule.ntp: vultr_firewall_rule.ntp: Error getting firewall rule (c639d718/6): Rate limit reached - please try your request again later.  Current rate limit: 2 requests/sec

I've installed via go so I'm current with the master branch

Example:

resource "vultr_firewall_group" "rancher_dns_server" {
description = "rancher-dns-server"
}

resource "vultr_firewall_rule" "ssh" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "0.0.0.0/0"
protocol = "tcp"
from_port = 22
to_port = 22
}

resource "vultr_firewall_rule" "docker" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "0.0.0.0/0"
protocol = "tcp"
from_port = 2376
to_port = 2376
}

resource "vultr_firewall_rule" "dot" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "0.0.0.0/0"
protocol = "tcp"
from_port = 853
to_port = 853
}

resource "vultr_firewall_rule" "dot_ipv6" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "::/0"
protocol = "tcp"
from_port = 853
to_port = 853
}

resource "vultr_firewall_rule" "dnscrypt_tcp" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "0.0.0.0/0"
protocol = "tcp"
from_port = 8443
to_port = 8443
}

resource "vultr_firewall_rule" "dnscrypt_tcp_ipv6" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "::/0"
protocol = "tcp"
from_port = 8443
to_port = 8443
}

resource "vultr_firewall_rule" "dnscrypt_udp" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "0.0.0.0/0"
protocol = "udp"
from_port = 8443
to_port = 8443
}

resource "vultr_firewall_rule" "dnscrypt_udp_ipv6" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "::/0"
protocol = "udp"
from_port = 8443
to_port = 8443
}

resource "vultr_firewall_rule" "doh" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "0.0.0.0/0"
protocol = "tcp"
from_port = 443
to_port = 443
}

resource "vultr_firewall_rule" "doh_ipv6" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "::/0"
protocol = "tcp"
from_port = 443
to_port = 443
}

resource "vultr_firewall_rule" "ntp" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "0.0.0.0/0"
protocol = "udp"
from_port = 123
to_port = 123
}

resource "vultr_firewall_rule" "ntp_ipv6" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "::/0"
protocol = "udp"
from_port = 123
to_port = 123
}

resource "vultr_firewall_rule" "munin" {
firewall_group_id = "${vultr_firewall_group.rancher_dns_server.id}"
cidr_block = "0.0.0.0/0"
protocol = "tcp"
from_port = 4949
to_port = 4949
}

from terraform-provider-vultr.

gibsonje avatar gibsonje commented on August 15, 2024

I'm also hitting this on firewall rules. It was after I refactored to use a for_each loop. I was wondering if that made it behave worse as far as hitting the api too fast.

@publicarray 's suggestion of parallelism=1 worked for me as a workaround.

from terraform-provider-vultr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.