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
To import the first instance, use the following command, using the Instance ID for _tf-instance-1_ you copied down earlier.
113
113
```
114
-
terraform import module.instances.google_compute_instance.tf-instance-1 <Instance ID - 1>
114
+
terraform import module.instances.google_compute_instance.tf-instance-1 <FILL IN INSTANCE 1 ID>
115
115
```
116
116
To import the second instance, use the following command, using the Instance ID for _tf-instance-2_ you copied down earlier.
117
117
```
118
-
terraform import module.instances.google_compute_instance.tf-instance-2 <Instance ID - 2>
118
+
terraform import module.instances.google_compute_instance.tf-instance-2 <FILL IN INSTANCE 2 ID>
119
119
```
120
120
The two instances have now been imported into your terraform configuration. You can now run the commands to update the state of Terraform. Type _yes_ at the dialogue after you run the apply command to accept the state changes.
121
121
```
122
122
terraform plan
123
123
terraform apply
124
124
```
125
-
**TASK 2: Configure a remote backend** <br/>
125
+
<br/> **TASK 2: Configure a remote backend** <br/>
126
126
Add the following code to the _modules/storage/storage.tf_ file, and fill in the _Bucket Name_:
0 commit comments