Sha256: b7fc2719bf11a492ffc125e2671a95965e4b0ee17d925332cdfbe527383dc250

Contents?: true

Size: 494 Bytes

Versions: 3

Compression:

Stored size: 494 Bytes

Contents

Displays the generated user data script. Useful for debugging since ERB can be ran on the user-data scripts.

Given a user data script in app/user-data/myscript.sh, run:

  $ aws-ec2 userdata myscript

You can have an ami creation snippet of code added to the end of the user data script with the `--ami` option.

  $ aws-ec2 userdata myscript --ami myname

If you want to include a timestamp in the name you can use this:

  $ aws-ec2 userdata myscript --ami '`date "+myname_%Y-%m-%d-%H-%M"`'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aws-ec2-0.5.1 lib/aws_ec2/help/user_data.md
aws-ec2-0.5.0 lib/aws_ec2/help/user_data.md
aws-ec2-0.4.0 lib/aws_ec2/help/user_data.md