Provisioning with Terraform
Ben Trumbore
Cornell Center for Advanced Computing
Revisions: 3/2024, 9/2021 (original)
After you have deployed some Jetstream2 instances using Terraform, you may wish to perform some actions on those instances, such as updating their operating systems, installing software on them, copying data to them, or performing other customization actions. This section talks about some ways in which those actions, which in this discussion we refer to as provisioning, can be performed by using Terraform or some other means.
Objectives
After you complete this segment, you should be able to:
- Describe what
cloud-init
anduser_data
are. - Name the three types of Terraform "generic" provisioners.
- Name some things that you can do to a Jetstream2 instance using a Terraform "generic" provisioner.
Prerequisites
To perform the steps in this topic you must have completed:
- The Preparing to Use Terraform on Jetstream2 topic.
- The Examples of Terraform for Jetstream2 topic.