Difference between revisions of "User data"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
 
* <code>[[key_name]]</code>
 
* <code>[[key_name]]</code>
 
* <code>http://[[169.254.169.254]]/latest/user-data</code>
 
* <code>http://[[169.254.169.254]]/latest/user-data</code>
 +
* https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html
  
 
== See also ==
 
== See also ==

Revision as of 06:28, 2 February 2023

user_data (Optional) user data to provide when launching the instance, such as shell scripts.

  • Notes: Do not pass gzip-compressed data via this argument; see user_data_base64 instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the user_data_replace_on_change is set then updates to this field will trigger a destroy and recreate



Related

See also

Advertising: