Closed Sceptyre closed 6 months ago
Thank you for reporting this issue! For maintainers to dig into issues it is required that all issues include the entirety of TF_LOG=DEBUG
output to be provided. The only parts that should be redacted are your user credentials in the X-Auth-Key
, X-Auth-Email
and Authorization
HTTP headers. Details such as zone or account identifiers are not considered sensitive but can be redacted if you are very cautious. This log file provides additional context from Terraform, the provider and the Cloudflare API that helps in debugging issues. Without it, maintainers are very limited in what they can do and may hamper diagnosis efforts.
This issue has been marked with triage/needs-information
and is unlikely to receive maintainer attention until the log file is provided making this a complete bug report.
Voting for Prioritization
Volunteering to Work on This Issue
It appears the cloudflare-go module itself doesn't have Replay Protection defined in the struct. https://github.com/cloudflare/cloudflare-go/blob/v0.92.0/magic_transit_ipsec_tunnel.go#L31
Appears to be related to an issue with the cloudflare-go module not supporting this attribute. PR has been submitted to add this functionality: https://github.com/cloudflare/cloudflare-go/pull/1710
Confirmation
Terraform and Cloudflare provider version
Affected resource(s)
Terraform configuration files
Link to debug output
n/a
Panic output
No response
Expected output
Expected ability to be able to configure
replay_protection
Actual output
Unable to configure
replay_protection
Steps to reproduce
replay_protection
valueAdditional factoids
The link below is to the Cloudflare terraform provider documentation. It appears that the provider doesn't support the ability to enable replay protection. cloudflare_ipsec_tunnel | Resources | cloudflare/cloudflare | Terraform | Terraform Registry
You can see within the codebase itself, within the read function, it doesn't reference the replay_protection value terraform-provider-cloudflare/internal/sdkv2provider/resource_cloudflare_ipsec_tunnel.go at master · cloudflare/terraform-provider-cloudflare (github.com)
You can see within the List IPsec Tunnels API call however that Cloudflare does expose it Cloudflare API Documentation
References
No response