Open udidn opened 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
It looks like the issue recreates regardless of non-breaking space character (it was just the first time I used heredoc in aws_quicksight_analysis
, for some reason I thought the issue is specific to this character).
I removed the non-breaking space character and the issue recreates the same way:
With heredoc, there are endless plans, and with double-quoted string, Terraform detects no changes, as expected.
This is recreated also in definition.sheets.visuals.kpi_visual.title.format_text.rich_text
in aws_quicksight_analysis
Terraform Core Version
1.5.3
AWS Provider Version
5.13.0
Affected Resource(s)
definition.sheets.text_boxes
block inaws_quicksight_analysis
resourceExpected Behavior
When running multiple applies in the following configuration: Using a non-breaking space character in heredoc in
content
field indefinition.sheets.text_boxes
block inaws_quicksight_analysis
resource.Terraform should detect no changes
Actual Behavior
When running multiple applies in the following configuration: Using a non-breaking space character in heredoc in
content
field indefinition.sheets.text_boxes
block inaws_quicksight_analysis
resource.Terraform always detects changes although there are no changes, and there are endless plan updates. When using exactly the same text in a double-quoted string, and running multiple applies, Terraform detects no changes.
Configuration examples can be found in the "Terraform Configuration Files" section
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
The below configuration has heredoc text in the
definition.sheets.text_boxes.content
field. This heredoc has a non-breaking space character in it, after the "here is a link:" part.If you apply the above configuration multiple times, Terraform will detected changes endlessly, and you'll have endless plan updates. Here's how the plan looks like after a second apply:
If you replace the above configuration file, with a double-quoted text in the
definition.sheets.text_boxes.content
field (and keep the non-breaking space), Terraform will detect no changes after a second apply. Here's the same configuration as above, only with a double-quoted string in thedefinition.sheets.text_boxes.content
field:If you apply the above configuration multiple times, Terraform won't detect any changes, as expected. Here's how the plan looks like after a second apply:
Steps to Reproduce
Run
terraform apply
multiple times without making any changes, using the first configuration example provided in the "Terraform Configuration Files" section. You'll see Terraform detects changes although no changes were made.Then, run
terraform apply
multiple times with the second configuration example provided in the "Terraform Configuration Files" section. You'll see that Terraform detects no changes, as expectedDebug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None