-
Notifications
You must be signed in to change notification settings - Fork 626
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 import feature to cloudflare_pages_domain #1958
Comments
I have a similar problem when try use this: # domain my-test-terraform.com
resource "cloudflare_pages_domain" "prod" {
account_id = var.account_id
project_name = var.project_name
domain = var.domain
} Output
In these case I need use an import for that my terraform run correctly |
@rafaellucio have you by chance filed a support ticket yet? I've yet to look into it more, but I get an 8000000 error in the UI adding or deleting custom domains but it still succeeds. Very similar to TF and the |
This functionality has been released in v3.26.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Current Terraform and Cloudflare provider version
0.13.5 and 3.25.0
Description
I'm getting similar errors as #1946 and was hoping I could temporarily fix it by importing the domain. I don't see a way to import in the documentation or in the code when comparing to something like cloudflare_pages_project.
ID is not easily found without opening the dev console in a browser. Perhaps the name of the domain would work best in combination with account ID? Perhaps project too?
Also, this seems way too small to file a bug report, but
terraform-provider-cloudflare/internal/provider/resource_cloudflare_pages_domain.go
Line 39 in 1cd58f4
Use cases
See above. Importing is a common feature for resources.
Potential Terraform configuration
n/a
References
No response
The text was updated successfully, but these errors were encountered: