Non-blocking issue for POC: Creating empty blocks of data without providing a value. #2996
Closed
2 tasks done
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
triage/needs-information
Indicates an issue needs more information in order to work on it.
Confirmation
Terraform and Cloudflare provider version
Terraform version 1.4.6
Provider version 4.19.0
Affected resource(s)
Non-blocking issue. Still not the expected results.
Terraform configuration files
Link to debug output
n/a
Panic output
No response
Expected output
Nothing should be created due to no input.
Actual output
From customer:
"I’m not currently providing the ssh_session_log param of our cloudflare_teams_account resource, and from the looks of it the provider is building its value as an empty block on state refresh, which doesn’t match the plan since it’s not possible to provide an empty block (public_key is a required attrib of the block), so that causes a cyclical change on plan/apply.
"Another minor provider cyclical change issue, cloudflare_access_identity_provider,config.api_tokenis always detected as a change, I even tried manually setting the token in the console.
Screenshot is back-to-back applies with ~15 seconds between them, demonstrating the cyclical changes detected, for context in case you have trouble replicating, the token is sourced from an input variable that’s tagged as sensitive and it’s an Okta OAuth IDP."
Steps to reproduce
See screenshots attached to actual output.
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: