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 support for cloudflare_list #444

Open
pastephens opened this issue Aug 3, 2022 · 4 comments
Open

Add support for cloudflare_list #444

pastephens opened this issue Aug 3, 2022 · 4 comments

Comments

@pastephens
Copy link

Current cf-terraforming version

cf-terraforming v0.8.0

Description

cloudflare_list encompasses ip_lists and redirect_lists, allowing the management of CF Bulk Redirects. You already support ip_lists and this is, I think, a subclass of a generic CF List.

Use cases

CF Bulk Redirects was introduced in Beta. We initially transformed our redirect data set into csv format and uploaded using the provided gui functionality. Those resources, however, are not currently captured as Infrastructure-as-Code. We want to manage them using Terraform by first importing them using cf-terraforming.

Potential cf-terraforming usage

Example usage

$ cf-terraforming generate \
  --zone $CLOUDFLARE_ZONE_ID \
  --resource-type "cloudflare_list"

will contact the Cloudflare API on your behalf and result in a valid Terraform
configuration representing the resource you requested:

resource "cloudflare_list" "terraform_managed_resource" {
  name = "example.com"
  list_name = "example"
  list_type = "redirect_list"  # could be ip_list
  zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
}

References

No response

@Arnall
Copy link

Arnall commented Jun 22, 2023

Hello,

the Cloudflare provider does not support cloudflare_ip_list anymore !

regards.

@steadfasterX
Copy link

  • cloudflare_ip_list is not working anymore ("cloudflare_ip_list" is not yet supported for automatic generation)
  • cloudflare_list is not integrated
  • and it seems the whole code related to that topic has been removed
  • it still shows up as supported in the README

would really like to see cloudflare_list in the future, previous PR reg cloudflare_ip_list is here: #462

related terraform link: https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/list

@dvasdekis
Copy link

Cmon guys, can we please have supoprt for "cloudflare_list"? Looks like the work was mostly done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants