borchero / terraform-plan-comment

GitHub Action to post the output of "terraform plan" to a pull request comment.
MIT License
75 stars 12 forks source link

docs: Fix formatting in README #4

Closed borchero closed 6 months ago

borchero commented 6 months ago

Motivation

Faulty prettier "fix".

github-actions[bot] commented 6 months ago

📝 Terraform Deployment

→ Resource Changes: 1 to create, 0 to update, 1 to re-create, 1 to delete.

✨ Create

local_file.another ```diff + content = "Hello terraform-plan-comment!" + content_base64sha256 = (known after apply) + content_base64sha512 = (known after apply) + content_md5 = (known after apply) + content_sha1 = (known after apply) + content_sha256 = (known after apply) + content_sha512 = (known after apply) + directory_permission = "0777" + file_permission = "0777" + filename = "../another.txt" + id = (known after apply) ```

⚙️ Re-Create

local_file.test[0] ```diff ! content = (sensitive value) # forces replacement ! content_base64sha256 = "ky+KUESlzgvMLeuw3XSV1vkbxOF5V8FyQJOgxHgpBCQ=" -> (known after apply) ! content_base64sha512 = "aJZGbh9jITISv2IG7ZGUUXicGZWE6qx0q+nliS0gv+j+pKarbxV6zulyZVNFRmFbSq37iOY1lZB1Gc2H5dTEBA==" -> (known after apply) ! content_md5 = "fc2c3e6607b6600bc920f94918923a0f" -> (known after apply) ! content_sha1 = "48abe23164c0b8257d86841e4c8f2514083243cd" -> (known after apply) ! content_sha256 = "932f8a5044a5ce0bcc2debb0dd7495d6f91bc4e17957c1724093a0c478290424" -> (known after apply) ! content_sha512 = "6896466e1f63213212bf6206ed919451789c199584eaac74abe9e5892d20bfe8fea4a6ab6f157acee97265534546615b4aadfb88e63595907519cd87e5d4c404" -> (known after apply) ! id = "48abe23164c0b8257d86841e4c8f2514083243cd" -> (known after apply) # (3 unchanged attributes hidden) ```

🗑️ Delete

local_file.test[1] ```diff - content = (sensitive value) -> null - content_base64sha256 = "ky+KUESlzgvMLeuw3XSV1vkbxOF5V8FyQJOgxHgpBCQ=" -> null - content_base64sha512 = "aJZGbh9jITISv2IG7ZGUUXicGZWE6qx0q+nliS0gv+j+pKarbxV6zulyZVNFRmFbSq37iOY1lZB1Gc2H5dTEBA==" -> null - content_md5 = "fc2c3e6607b6600bc920f94918923a0f" -> null - content_sha1 = "48abe23164c0b8257d86841e4c8f2514083243cd" -> null - content_sha256 = "932f8a5044a5ce0bcc2debb0dd7495d6f91bc4e17957c1724093a0c478290424" -> null - content_sha512 = "6896466e1f63213212bf6206ed919451789c199584eaac74abe9e5892d20bfe8fea4a6ab6f157acee97265534546615b4aadfb88e63595907519cd87e5d4c404" -> null - directory_permission = "0777" -> null - file_permission = "0777" -> null - filename = "../test.txt" -> null - id = "48abe23164c0b8257d86841e4c8f2514083243cd" -> null ``` _→ because index [1] is out of range for count_

Triggered by @borchero, Commit: 2308b38481b318dd9ddf54737678be11e9cf1277