Skip to content

Commit

Permalink
Regenerate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
simaotwx committed Aug 14, 2024
1 parent 8276571 commit 1c10b61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion docs/resources/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ description: |-
- `force` (Boolean) Force overwriting existing images
- `ignore_environment` (Boolean) Prevents passing all environment variables of the provider through to Packer
- `name` (String) Name of this build. This value is not passed to Packer.
- `sensitive_variables` (Dynamic, Sensitive) Sensitive variables to pass to Packer (does the same as variables, but makes sure Terraform knows these values are sensitive)
- `triggers` (Map of String) Values that, when changed, trigger an update of this resource
- `variables` (Map of String) Variables to pass to Packer
- `variables` (Dynamic) Variables to pass to Packer

### Read-Only

Expand Down
10 changes: 5 additions & 5 deletions examples/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ data "packer_files" "files2" {
resource "packer_image" "image1" {
file = data.packer_files.files1.file
variables = {
test_var1 = "test 1"
test_var2 = "test 2"
test_int = 420
test_var1 = "test 1"
test_var2 = "test 2"
test_int = 420
test_float = 3.1416
}
sensitive_variables = {
test_big_float = 1.234e100
test_bool = true
test_bool = true
test_list = tolist([
"element 1", "element 2"
])
Expand All @@ -44,7 +44,7 @@ resource "random_string" "random" {
special = false
lower = true
upper = true
number = true
numeric = true
}

resource "packer_image" "image2" {
Expand Down

0 comments on commit 1c10b61

Please sign in to comment.