-
Notifications
You must be signed in to change notification settings - Fork 630
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
Import not working for cloudflare access application #2855
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Thank you for reporting this issue! For maintainers to dig into issues it is required that all issues include the entirety of This issue has been marked with |
Marking this issue as stale due to 30 days of inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 7 days it will automatically be closed. Maintainers can also remove the |
This issue was closed because it has been stalled for 7 days with no activity. |
Confirmation
Terraform and Cloudflare provider version
Terraform - 1.5.5
Cloudflare - 4.16.0
Affected resource(s)
Cloudflare access application
Terraform configuration files
Link to debug output
╷ │ Error: failed to read Access Application state │ │
Panic output
No response
Expected output
Terraform import should be able to import the resource in state file.
Actual output
It fails with the below error.
Error: failed to read Access Application state
Steps to reproduce
I have the sample code from the docs, then ran the below import command. However it still fails to import the resource.
Step 1. code in main.tf
resource "cloudflare_access_application" "accessApplication" {
provider = cloudflare.cf
zone_id =
name = "testing app"
domain = "test.example.com"
session_duration = "24h"
auto_redirect_to_identity = true
http_only_cookie_attribute = true
same_site_cookie_attribute = "strict"
allowed_idps = [""]
}
Step 2. Terraform import command
terraform import cloudflare_access_application.accessApplication <account_id>/<application_id>
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: