-
Notifications
You must be signed in to change notification settings - Fork 53
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
[0.5.1] import and refresh populate fields with invalid "null" value #312
Labels
Milestone
Comments
This issue is stale because it has been open for 30 days with no activity and it has not the 'status: confirmed' label or it is not in a milestone. Remove the 'status: stale' label or comment, or this will be closed in 5 days. |
treywelsh
added a commit
that referenced
this issue
Dec 2, 2022
treywelsh
added a commit
that referenced
this issue
Dec 3, 2022
treywelsh
added a commit
that referenced
this issue
Dec 3, 2022
treywelsh
added a commit
that referenced
this issue
Dec 5, 2022
treywelsh
added a commit
that referenced
this issue
Dec 5, 2022
treywelsh
added a commit
that referenced
this issue
Dec 5, 2022
treywelsh
added a commit
that referenced
this issue
Dec 5, 2022
7 tasks
treywelsh
added a commit
that referenced
this issue
Feb 14, 2023
7 tasks
treywelsh
added a commit
that referenced
this issue
Feb 17, 2023
treywelsh
added a commit
that referenced
this issue
Feb 20, 2023
treywelsh
added a commit
that referenced
this issue
Feb 21, 2023
frousselet
pushed a commit
that referenced
this issue
Apr 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Community Note
Terraform Version
1.2.2
Affected Resource(s)
Expected Behavior
terraform import
andterraform refresh
import values with a meaningful defaultActual Behavior
terraform import
andterraform refresh
set a lot of values tonull
, causing problem during operation. Examples:during refresh:
template_id: null
should be-1
nic_template: null
should be[]
disk_template: null
should be[]
during import:
timeout: null
should be a reasonable numerical value (gets implicitly cast to 0, which means e.g.terraform destroy
cannot succeed).Alternatively, the module should handle null values gracefully, but it stands to reason that whatever is in the state should be non-ambiguous.
Steps to Reproduce
terraform refresh
on an inventory created with an older versionterraform import
on an existing machine idThe text was updated successfully, but these errors were encountered: