Difference between revisions of "User data replace on change"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | <code>user_data_replace_on_change</code> ([https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#user_data_replace_on_change ref]) | ||
+ | |||
+ | |||
Terraform will perform the following actions: | Terraform will perform the following actions: | ||
− | + | ||
# aws_instance.your_example will be updated in-place | # aws_instance.your_example will be updated in-place | ||
~ resource "aws_instance" "your_example" { | ~ resource "aws_instance" "your_example" { | ||
Line 12: | Line 15: | ||
~ user_data_replace_on_change = false -> true | ~ user_data_replace_on_change = false -> true | ||
# (31 unchanged attributes hidden) | # (31 unchanged attributes hidden) | ||
− | + | ||
# (7 unchanged blocks hidden) | # (7 unchanged blocks hidden) | ||
} | } | ||
− | + | ||
Plan: 0 to add, 1 to change, 0 to destroy. | Plan: 0 to add, 1 to change, 0 to destroy. | ||
+ | == Related == | ||
+ | * [[user_data]] | ||
+ | * [[-replace]] | ||
− | {{aws_instance}} | + | == See also == |
+ | * {{user_data}} | ||
+ | * {{aws_instance}} |
Latest revision as of 10:29, 27 June 2023
user_data_replace_on_change
(ref)
Terraform will perform the following actions: # aws_instance.your_example will be updated in-place ~ resource "aws_instance" "your_example" { id = "i-05a1421fe12313" tags = { "Env" = "prod" "Name" = "Example" } ~ user_data_replace_on_change = false -> true # (31 unchanged attributes hidden) # (7 unchanged blocks hidden) } Plan: 0 to add, 1 to change, 0 to destroy.
Related[edit]
See also[edit]
Advertising: