Flow node connections cannot be re-mapped to admin defined connections when an environment contains a bootstrapped equivalent #266
Labels
status/blocked/upstream-api
The issue/PR is blocked by an upstream API
status/triaged
The issue/PR has completed initial triage and needs assignment
type/bug
Something isn't working
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
v0.2.1
Terraform Version
v1.6.6
Affected Resource(s)
davinci_flow
Terraform Configuration Files
Debug Output
N/a
Panic Output
None
Expected Behavior
davinci_flow.test-subflow-1
, when imported, should compare the name provided inconnection_link.name
with the name in the flow, and overwrite the connection ID with the new connection specified in HCLActual Behavior
The flow instead was imported and the HTTP connection used a bootstrapped default, which ignored the configured mapping.
Steps to Reproduce
Http
connection toHttp1
httpConnector
node is present, and set the name toabcd123-http
(matchingdavinci_connection.test-http.name
in the HCL)terraform apply
connectionId
in the JSON becomesdavinci_connection.test-http.id
davinci_connection.test-http.id
attributeWorkaround
Remove bootstrapped DaVinci configuration from the environment prior to import
Important Factoids
References
The text was updated successfully, but these errors were encountered: