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

Add new zone data source #163

Closed
ewilde opened this issue Nov 23, 2018 · 2 comments
Closed

Add new zone data source #163

ewilde opened this issue Nov 23, 2018 · 2 comments
Labels
kind/documentation Categorizes issue or PR as related to documentation. kind/enhancement Categorizes issue or PR as related to improving an existing feature. kind/new-resource Categorizes issue or PR as related to creating a new resource.

Comments

@ewilde
Copy link
Contributor

ewilde commented Nov 23, 2018

Summary

Introduce new data source cloudflare_zone

cloudflare_zone

Use this data source to look up a Zone record.

Example Usage

data "cloudflare_zone" "test" {
  zone = "example.com"
}

resource "cloudflare_spectrum_application" "ssh" {
  zone_id  = "${data.cloudflare_zone.test.id}"
  protocol = "tcp/22"

  dns = {
    type = "CNAME"
    name = "ssh.${data.cloudflare_zone.test.zone}"
  }

  origin_direct = ["tcp://81.120.102.10:23"]
  origin_port   = 22
}

Argument Reference

  • zone - (Required) The name of the zone to match.

Attributes Reference

  • id - Id of the zone
  • status - Zone status. Valid values: active, pending, initializing, moved, deleted, deactivated and read only
  • name_servers - List of name servers
  • type - Zone type. Valid values: full or partial

I will start a PR for this feature

@patryk
Copy link
Contributor

patryk commented Jan 7, 2019

Being worked on in #168.

@patryk patryk added kind/enhancement Categorizes issue or PR as related to improving an existing feature. kind/documentation Categorizes issue or PR as related to documentation. kind/new-resource Categorizes issue or PR as related to creating a new resource. labels Jan 7, 2019
@patryk
Copy link
Contributor

patryk commented Jan 11, 2019

Done.

@patryk patryk closed this as completed Jan 11, 2019
boekkooi-lengoo pushed a commit to boekkooi-lengoo/terraform-provider-cloudflare that referenced this issue Feb 28, 2022
* add rate limiting to api

* add test for rate limiting + refactor

* introduce retries with exponential backoff

* add tests for backoff

* cleanup + add logging on retries

* resolve RateLimit naming conflict

* fix review comments, add configurable logging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to documentation. kind/enhancement Categorizes issue or PR as related to improving an existing feature. kind/new-resource Categorizes issue or PR as related to creating a new resource.
Projects
None yet
Development

No branches or pull requests

2 participants