Skip to content
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

LXC description field is always marked as changed #601

Closed
simoncaron opened this issue Oct 2, 2023 · 0 comments · Fixed by #611
Closed

LXC description field is always marked as changed #601

simoncaron opened this issue Oct 2, 2023 · 0 comments · Fixed by #611
Labels
🐛 bug Something isn't working

Comments

@simoncaron
Copy link
Contributor

Describe the bug

When the description field of an LXC container is written using heredoc syntax, ex:

  description = <<-EOT
    my 
    description
    value
  EOT

the provider will always find a change in the resource at each run.

To Reproduce
Steps to reproduce the behavior:

  1. Create an LXC resource with a multi-line heredoc-style description
  2. Run terraform plan/apply immediately after creation
  3. Check output of the command

Expected behavior
Since the description field was not changed, there should not be any change detected.

Screenshots
Sans titre

Additional context
Add any other context about the problem here.

  • Single or clustered Proxmox: Single
  • Provider version (ideally it should be the latest version): 0.33.0
  • Terraform version: 1.5.1
  • OS (where you run Terraform from): Pop_OS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant