You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ Purpose: allow execution of Terraform deployment from CloudShell. Multiple Terra
4
4
Additional workflow recommendation: it is very easy to customize Blueprint setup script that will run the “Execute Terraform” command on the service, and a similar teardown script that will run the “Destroy Terraform” command – this way the Terraform Module lifecycle is connected to the Sandbox lifecycle.
5
5
6
6
## Content
7
-
* (1) cloudshell-iac-terraform - Python package that contains all the logic. It's assumed that this python package is used by a CloudShell Service
8
-
* (2) generic_terraform_service - Main Shell
9
-
* Used as is in a generic fashion or use it as an example to build an extension for a specific purpose (e.g. Azure MsSql, AWS RDS or any other managed cloud service)
10
-
* (3) Remote backends
11
-
* azure_tf_backend - Azure Remote Backend shell. See below for more details about usage
7
+
1. cloudshell-iac-terraform - Python package that contains all the logic. It's assumed that this python package is used by a CloudShell Service
8
+
2. generic_terraform_service - Main Shell <br>
9
+
Use as is in a generic fashion or use it as an example to build an extension for a specific purpose (e.g. Azure MsSql, AWS RDS or any other managed cloud service)
10
+
3. Remote backends <br>
11
+
azure_tf_backend - Azure Remote Backend shell. See below for more details about usage
12
12
13
13
## Shell Usage Instructions
14
14
@@ -36,14 +36,12 @@ Additional workflow recommendation: it is very easy to customize Blueprint setup
36
36
#### Auto mapping from attributes to TF Variables
37
37
38
38
Attributes that end with the postfix "_tfvar" will be automatically mapped to TF variables with the same name as the CloudShell attribute but without the postfix. <br>
39
-
Example: <br>
40
-
The value of a CloudShell attribute called "DB_Name_tfvar" will be automatically assigned to a TF variable called "DB_Name".
39
+
Example: The value of a CloudShell attribute called "DB_Name_tfvar" will be automatically assigned to a TF variable called "DB_Name".
41
40
42
41
#### Auto mapping from TF Outputs to CloudShell attributes
43
42
44
43
Attributes that end with the postfix "_tfout" will be automatically updated with the value of TF Outputs that has the same name but without the postfix. <br>
45
-
Example: <br>
46
-
The value of a TF output "DB_Hostname" will be automatically set on an attribute with the name "DB_Hostname_tfout".
44
+
Example: The value of a TF output "DB_Hostname" will be automatically set on an attribute with the name "DB_Hostname_tfout".
47
45
48
46
## Config Object (cloudshell-iac-terraform)
49
47
The cloudshell-iac-terraform python package provides a configuration mechanism enabling you to set the behavior of the shell programmatically.
@@ -109,4 +107,4 @@ All your contributions are welcomed and encouraged. We've compiled detailed info
0 commit comments