Create a Terraform Script
You can create a new Terraform script for the account from within CloudShare by manually entering or pasting the script code.
Note
The ability to work with Terraform scripts in CloudShare depends on whether a user's assigned Role has sufficient permissions. For complete details, click here.
-
From the External Resources menu, click Create New Script. The Create a New Script page opens:
From the External Cloud dropdown menu, select the desired Cloud provider.
From the Project dropdown menu, select the project that will use the script.
In the Script Name field, enter a unique name for the new script.
In the Script Description text box, enter some helpful details about the new script.
-
In the Script Context text box, enter or paste the script code itself.
If desired, you can enter the code into a Terraform syntax-friendly editing window by clicking Open Script in Terraform Editor. The editor will provide basic formatting hints for your script.
-
When you finish entering the details and content for the new script, click Create New Script. The new script will be stored with the Creation Scripts for the account.
Terraform Script Examples
To help you create scripts, CloudShare maintains Terraform script examples for various external clouds in a dedicated GitHub repository: https://github.com/cloudshare/cloudshare-terraform-samples.
We maintain a list of all currently-supported Terraform versions and providers in this GitHub repository as well.
Comments
0 comments
Article is closed for comments.