support davinci flow include variable values false #343
Labels
status/triaged
The issue/PR has completed initial triage and needs assignment
type/bug
Something isn't working
Milestone
Community Note
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
DaVinci Terraform provider Version
0.3.3
Terraform Version
terraform 1.6+
Affected Resource(s)
davinci_flow
Terraform Configuration Files
Flows now can have a variables array with or without variable values included.
example with value:
example without value:
Debug Output
Panic Output
Expected Behavior
stored flow state should match what was included during import
Actual Behavior
Flows that are exported without including variable values end up storing state with values and cause a mismatch.
func (r *FlowResource) Read...
does not include the newincludeVariableValues
query parameter and thus uses the default which does include variable values.Steps to Reproduce
Important Factoids
The main issue is the difference in stored state, however it looks like there is also an additional field
updatedDate
that was added and is the reason for theWarning: DaVinci Export JSON contains unknown properties
References
The text was updated successfully, but these errors were encountered: