Difference between revisions of "User data"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
<code>user_data</code> (Optional) user data to provide when [[launching]] the instance, such as [[shell scripts]].
 
<code>user_data</code> (Optional) user data to provide when [[launching]] the instance, such as [[shell scripts]].
* Notes: Do not pass gzip-compressed data via this argument; see <code>[[user_data_base64]]</code> instead. Updates to this field will trigger a stop/start of the [[EC2]] instance by default. If the <code>[[user_data_replace_on_change]]</code> is set then updates to this field will trigger a destroy and recreate
+
Notes:
 +
* Updates to this field will trigger a stop/start of the [[EC2]] instance by default.
 +
* Do not pass gzip-compressed data via this argument; see <code>[[user_data_base64]]</code> instead.  
 +
* If the <code>[[user_data_replace_on_change]]</code> is set then updates to this field will trigger a destroy and recreate
  
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#user_data
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#user_data

Revision as of 07:35, 15 February 2023

Advertising: