I am using below code in terraform.
resource “aws_s3_bucket” “spacelift-test1-s3” {
bucket = “${var.s3_bucket_name}”
acl = “private”
}
I am running terraform apply 2 times without modifying anything in code level or in infra level.
When I am check the statefile generated after both the run I can find below difference.
State file after apply 1:
“tags”: null
State file after apply 2:
“tags”: {}
why there is a differnece