Difference between revisions of "User data replace on change"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
       ~ 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]]
  
  
 
{{aws_instance}}
 
{{aws_instance}}

Revision as of 06:23, 25 April 2023

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


Terraform AWS: aws_instance: ami, availability_zone, instance_type, key_name, aws_key_pair, monitoring, associate_public_ip_address, tenancy, subnet_id, user_data, iam_instance_profile, vpc_security_group_ids, root_block_device, ebs_block_device

Advertising: