Skip to content

Attach an EBS volume to an EC2 instance at launch using the user data

Notifications You must be signed in to change notification settings

johnny550/EC2_EBS_user_data

Repository files navigation

This code

-> Spins up an instance

-> Attaches a created EBS volume at launch through user data

-> The user data is defined in the file cloudinit.tf Script files are called in cloudinit.tf. The output of the latter is referenced through user-data in instances.tf

 -> The script volumes.sh will allow us to reuse the same EBS volume for another instance even if the instance it was attached to previously has been terminated

About

Attach an EBS volume to an EC2 instance at launch using the user data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published