Difference between revisions of "User data replace on change"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  user_data_replace_on_change [https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#user_data_replace_on_change ref]
+
  user_data_replace_on_change ([https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#user_data_replace_on_change ref])
  
  

Revision as of 06:25, 25 April 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


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: