File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,13 @@ section_close
174
174
175
175
# Uncomment the line: "deletion_protection = false"
176
176
sed -i " s/# deletion_protection/deletion_protection/g" ${DIR} /main.tf
177
+ terraform -chdir=" $DIR " apply -auto-approve \
178
+ -var gcp_project_id=" ${PROJECT} " \
179
+ -var name=" ${NAME} " \
180
+ -var region=" ${REGION} " \
181
+ -var namespace=" ${NAMESPACE} " \
182
+ -var filepath_manifest=" ${FILEPATH_MANIFEST} " \
183
+ -var memorystore=" ${MEMORYSTORE} "
177
184
178
185
terraform -chdir=" $DIR " destroy -auto-approve \
179
186
-var gcp_project_id=" ${PROJECT} " \
Original file line number Diff line number Diff line change @@ -83,6 +83,9 @@ To remove the individual resources created for by Terraform without deleting the
83
83
```bash
84
84
# Uncomment the line: "deletion_protection = false"
85
85
sed -i "s/# deletion_protection/deletion_protection/g" main.tf
86
+
87
+ # Re-apply the Terraform to update the state
88
+ terraform apply
86
89
```
87
90
88
91
1. Run the following command:
You can’t perform that action at this time.
0 commit comments